]> granicus.if.org Git - clang/commitdiff
Fix two redefinitions in test cases that weren't diagnosed yet, but will be soon.
authorSebastian Redl <sebastian.redl@getdesigned.at>
Tue, 26 Jan 2010 18:52:33 +0000 (18:52 +0000)
committerSebastian Redl <sebastian.redl@getdesigned.at>
Tue, 26 Jan 2010 18:52:33 +0000 (18:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94565 91177308-0d34-0410-b5e6-96231b3b80d8

test/CXX/basic/basic.lookup/basic.lookup.elab/templateid.cpp
test/SemaCXX/nested-name-spec.cpp

index 76b6e2b574652afae2c32f9df0f17e106c87ba93..8126d28562ae7f944c5758728f4b06d2cac97245 100644 (file)
@@ -15,4 +15,4 @@ namespace A {
 }
 
 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 }}
index 8618f0339bcafc2fe65d483523dda3b38204578d..dbbf1fecc9f3cf32b1f55561a89a7f141b168dff 100644 (file)
@@ -212,7 +212,7 @@ namespace test1 {
 // non-lexical scope.
 namespace test2 {
   namespace ns {
-    int *count_ptr;
+    extern int *count_ptr;
   }
   namespace {
     int count = 0;