[cfe-commits] r94565 - in /cfe/trunk/test: CXX/basic/basic.lookup/basic.lookup.elab/templateid.cpp SemaCXX/nested-name-spec.cpp
Sebastian Redl
sebastian.redl at getdesigned.at
Tue Jan 26 10:52:33 PST 2010
Author: cornedbee
Date: Tue Jan 26 12:52:33 2010
New Revision: 94565
URL: http://llvm.org/viewvc/llvm-project?rev=94565&view=rev
Log:
Fix two redefinitions in test cases that weren't diagnosed yet, but will be soon.
Modified:
cfe/trunk/test/CXX/basic/basic.lookup/basic.lookup.elab/templateid.cpp
cfe/trunk/test/SemaCXX/nested-name-spec.cpp
Modified: cfe/trunk/test/CXX/basic/basic.lookup/basic.lookup.elab/templateid.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CXX/basic/basic.lookup/basic.lookup.elab/templateid.cpp?rev=94565&r1=94564&r2=94565&view=diff
==============================================================================
--- cfe/trunk/test/CXX/basic/basic.lookup/basic.lookup.elab/templateid.cpp (original)
+++ cfe/trunk/test/CXX/basic/basic.lookup/basic.lookup.elab/templateid.cpp Tue Jan 26 12:52:33 2010
@@ -15,4 +15,4 @@
}
class Ident<int> GlobalIdent;
-union Ident<int> GlobalIdent; // expected-error {{ tag type that does not match }}
+union Ident<int> GlobalIdent2; // expected-error {{ tag type that does not match }}
Modified: cfe/trunk/test/SemaCXX/nested-name-spec.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/nested-name-spec.cpp?rev=94565&r1=94564&r2=94565&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/nested-name-spec.cpp (original)
+++ cfe/trunk/test/SemaCXX/nested-name-spec.cpp Tue Jan 26 12:52:33 2010
@@ -212,7 +212,7 @@
// non-lexical scope.
namespace test2 {
namespace ns {
- int *count_ptr;
+ extern int *count_ptr;
}
namespace {
int count = 0;
More information about the cfe-commits
mailing list