[LLVMbugs] [Bug 10762] New: dejagnu test fails to compiler with clang g++.old-deja/g++.pt/ttp42.C
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Aug 25 20:44:34 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=10762
Summary: dejagnu test fails to compiler with clang
g++.old-deja/g++.pt/ttp42.C
Product: clang
Version: 2.9
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: Driver
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: rkotler at mips.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=7141)
--> (http://llvm.org/bugs/attachment.cgi?id=7141)
g++.old-deja/g++.pt/ttp42.C
compiles fine with g++ and intel edg based compiler
c-4.4.6/gcc/testsuite/g++.old-deja/g++.pt/ttp42.C
/home/rkotler/gcc-4.4.6/gcc/testsuite/g++.old-deja/g++.pt/ttp42.C:2:36: error:
declaration of 'T' shadows template parameter
template <class T, template <class T> class C>
^
/home/rkotler/gcc-4.4.6/gcc/testsuite/g++.old-deja/g++.pt/ttp42.C:2:17: note:
template parameter is declared here
template <class T, template <class T> class C>
^
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.
More information about the llvm-bugs
mailing list