http://llvm.org/bugs/show_bug.cgi?id=10780
Summary: dejagnu test fails to compiler with clang
g++.old-deja/g++.pt/memclass5.C
Product: clang
Version: 2.9
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: Frontend
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Created an attachment (id=7155)
--> (http://llvm.org/bugs/attachment.cgi?id=7155)
g++.old-deja/g++.pt/memclass5.C
Compiles with g++ and intel compiler with edg front end
/home/rkotler/gcc-4.4.6/gcc/testsuite/g++.old-deja/g++.pt/memclass5.C
/home/rkotler/gcc-4.4.6/gcc/testsuite/g++.old-deja/g++.pt/memclass5.C:15:27:
error:
typename specifier refers to non-type member 'B' in 'A<int>'
b.A<T>::template B<U>::~B();
^
/home/rkotler/gcc-4.4.6/gcc/testsuite/g++.old-deja/g++.pt/memclass5.C:22:3:
note:
in instantiation of function template specialization 'f<int, char>'
requested here
f<int, char>();
^
/home/rkotler/gcc-4.4.6/gcc/testsuite/g++.old-deja/g++.pt/memclass5.C:3:29:
note:
referenced member 'B' is declared here
template <class U> struct B {
^
1 error generated.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs