@@ -779,7 +779,7 @@ namespace dr657 { // dr657: partial
779
779
780
780
struct C { C(Abs) {} };
781
781
// expected-error@-1 {{parameter type 'Abs' is an abstract class}}
782
- // expected-note@#dr657-Abs {{unimplemented pure virtual method 'x' in 'Abs'}}
782
+ // expected-note@#dr657-Abs {{unimplemented pure virtual method 'x' in 'Abs'}}
783
783
struct Q { operator Abs () { __builtin_unreachable (); } } q;
784
784
// expected-error@-1 {{return type 'Abs' is an abstract class}}
785
785
#if __cplusplus >= 201703L
@@ -809,7 +809,7 @@ namespace dr659 { // dr659: 3.0
809
809
struct A ; // #dr659-A
810
810
int m = alignof (A&);
811
811
// since-cxx11-error@-1 {{invalid application of 'alignof' to an incomplete type 'A'}}
812
- // since-cxx11-note@#dr659-A {{forward declaration of 'dr659::A'}}
812
+ // since-cxx11-note@#dr659-A {{forward declaration of 'dr659::A'}}
813
813
}
814
814
#endif
815
815
@@ -836,7 +836,7 @@ namespace dr662 { // dr662: yes
836
836
T &tr = t;
837
837
T *tp = &t;
838
838
// expected-error@-1 {{'tp' declared as a pointer to a reference of type 'int &'}}
839
- // expected-note@#dr662-f-call {{in instantiation of function template specialization 'dr662::f<int &>' requested here}}
839
+ // expected-note@#dr662-f-call {{in instantiation of function template specialization 'dr662::f<int &>' requested here}}
840
840
#if __cplusplus >= 201103L
841
841
auto *ap = &t;
842
842
#endif
@@ -1302,12 +1302,12 @@ namespace dr692 { // dr692: 16
1302
1302
e2 (b2);
1303
1303
f<int >(42 );
1304
1304
// expected-error@-1 {{call to 'f' is ambiguous}}
1305
- // expected-note@#dr692-f-deleted {{candidate function [with T = int, U = int] has been explicitly deleted}}
1306
- // expected-note@#dr692-f {{candidate function [with U = int]}}
1305
+ // expected-note@#dr692-f-deleted {{candidate function [with T = int, U = int] has been explicitly deleted}}
1306
+ // expected-note@#dr692-f {{candidate function [with U = int]}}
1307
1307
g (42 );
1308
1308
// expected-error@-1 {{ambiguous}}
1309
- // expected-note@#dr692-g {{candidate function [with T = int]}}
1310
- // expected-note@#dr692-g-variadic {{candidate function [with T = int, U = <>]}}
1309
+ // expected-note@#dr692-g {{candidate function [with T = int]}}
1310
+ // expected-note@#dr692-g-variadic {{candidate function [with T = int, U = <>]}}
1311
1311
}
1312
1312
}
1313
1313
@@ -1371,7 +1371,7 @@ namespace dr696 { // dr696: 3.1
1371
1371
int arr[N]; (void )arr;
1372
1372
f (&N);
1373
1373
// expected-error@-1 {{reference to local variable 'N' declared in enclosing function 'dr696::g'}}
1374
- // expected-note@#dr696-N {{'N' declared here}}
1374
+ // expected-note@#dr696-N {{'N' declared here}}
1375
1375
}
1376
1376
};
1377
1377
#if __cplusplus >= 201103L
0 commit comments