@@ -443,7 +443,7 @@ namespace cwg329 { // cwg329: 3.5
443
443
// expected-note@#cwg329-b {{in instantiation of template class 'cwg329::A<char>' requested here}}
444
444
// expected-note@#cwg329-i {{previous definition is here}}
445
445
};
446
- A<int > a;
446
+ A<int > a;
447
447
A<char > b; // #cwg329-b
448
448
449
449
void test () {
@@ -684,9 +684,9 @@ namespace cwg341 { // cwg341: sup 1708
684
684
namespace B {
685
685
extern " C" int &cwg341_a = cwg341_a;
686
686
// expected-error@-1 {{redefinition of 'cwg341_a'}}
687
- // expected-note@#cwg341_a {{previous definition is here}}
687
+ // expected-note@#cwg341_a {{previous definition is here}}
688
688
}
689
- extern " C" void cwg341_b (); // #cwg341_b
689
+ extern " C" void cwg341_b (); // #cwg341_b
690
690
}
691
691
int cwg341_a;
692
692
// expected-error@-1 {{declaration of 'cwg341_a' in global scope conflicts with declaration with C language linkage}}
@@ -704,7 +704,7 @@ namespace cwg341 {
704
704
// expected-error@-1 {{declaration of 'cwg341_d' with C language linkage conflicts with declaration in global scope}}
705
705
// expected-note@#cwg341_d {{declared in global scope here}}
706
706
707
- namespace A { extern " C" int cwg341_e; } // #cwg341_e
707
+ namespace A { extern " C" int cwg341_e; } // #cwg341_e
708
708
namespace B { extern " C" void cwg341_e (); }
709
709
// expected-error@-1 {{redefinition of 'cwg341_e' as different kind of symbol}}
710
710
// expected-note@#cwg341_e {{previous definition is here}}
@@ -1106,7 +1106,7 @@ namespace cwg364 { // cwg364: yes
1106
1106
}
1107
1107
1108
1108
// cwg366: yes
1109
- #if "foo" // expected-error {{invalid token at start of a preprocessor expression}}
1109
+ #if "foo" // expected-error {{invalid token at start of a preprocessor expression}}
1110
1110
#endif
1111
1111
1112
1112
namespace cwg367 { // cwg367: yes
0 commit comments