11fe_only -DTEST_NUMBER=1 --clang -tused -e 200 --no_wrap_diagnostics --clang_version 999999 --c++11 Test_name.c
2+ "Test_name.c", line 48: error: no instance of constructor "Reorder::X::X" matches the argument list
3+ foo n = {.y = 4, .x = 5};
4+ ^
5+ "Test_name.c", line 37: note: number of parameters of function "Reorder::X::X(const Reorder::X &)" does not match the call
6+ struct X {
7+ ^
8+ "Test_name.c", line 37: note: number of parameters of function "Reorder::X::X(Reorder::X &&)" does not match the call
9+ struct X {
10+ ^
11+ "Test_name.c", line 38: note: number of parameters of function "Reorder::X::X(int)" does not match the call
12+ X(int n);
13+ ^
14+
215"Test_name.c", line 48: warning: out-of-order initializers are nonstandard in C++
316 foo n = {.y = 4, .x = 5};
417 ^
@@ -35,6 +48,10 @@ fe_only -DTEST_NUMBER=1 --clang -tused -e 200 --no_wrap_diagnostics --clang_vers
3548 S s1 = {
3649 ^
3750
51+ "Test_name.c", line 90: error: variable "Reorder3::s2" has an uninitialized const or reference member
52+ S s2 = {
53+ ^
54+
3855"Test_name.c", line 94: warning: out-of-order initializers are nonstandard in C++
3956 .b = s3.a, .a = 1,
4057 ^
@@ -43,6 +60,20 @@ fe_only -DTEST_NUMBER=1 --clang -tused -e 200 --no_wrap_diagnostics --clang_vers
4360 S s3 = {
4461 ^
4562
63+ "Test_name.c", line 101: error: a class or namespace qualified name is required
64+ template<typename T> struct Error { using type = typename T::type; }; // expected-error 3{{'::'}}
65+ ^
66+ detected during:
67+ instantiation of class "NoCheckingFilledHoles::Error<T> [with T=int [1]]" at line 105
68+ instantiation of "NoCheckingFilledHoles::DefaultInitIsError<N>::DefaultInitIsError(NoCheckingFilledHoles::Error<int [N]>) [with N=1]" at line 119
69+
70+ "Test_name.c", line 101: error: expected a ";"
71+ template<typename T> struct Error { using type = typename T::type; }; // expected-error 3{{'::'}}
72+ ^
73+ detected during:
74+ instantiation of class "NoCheckingFilledHoles::Error<T> [with T=int [1]]" at line 105
75+ instantiation of "NoCheckingFilledHoles::DefaultInitIsError<N>::DefaultInitIsError(NoCheckingFilledHoles::Error<int [N]>) [with N=1]" at line 119
76+
4677"Test_name.c", line 117: warning: out-of-order initializers are nonstandard in C++
4778 .a = 1,
4879 ^
@@ -65,10 +96,6 @@ fe_only -DTEST_NUMBER=1 --clang -tused -e 200 --no_wrap_diagnostics --clang_vers
6596 instantiation of class "NoCheckingFilledHoles::Error<T> [with T=int [2]]" at line 105
6697 instantiation of "NoCheckingFilledHoles::DefaultInitIsError<N>::DefaultInitIsError(NoCheckingFilledHoles::Error<int [N]>) [with N=2]" at line 124
6798
68- "Test_name.c", line 127: warning: out-of-order initializers are nonstandard in C++
69- .a = 1
70- ^
71-
7299"Test_name.c", line 101: error: a class or namespace qualified name is required
73100 template<typename T> struct Error { using type = typename T::type; }; // expected-error 3{{'::'}}
74101 ^
@@ -83,14 +110,60 @@ fe_only -DTEST_NUMBER=1 --clang -tused -e 200 --no_wrap_diagnostics --clang_vers
83110 instantiation of class "NoCheckingFilledHoles::Error<T> [with T=int [3]]" at line 105
84111 instantiation of "NoCheckingFilledHoles::DefaultInitIsError<N>::DefaultInitIsError(NoCheckingFilledHoles::Error<int [N]>) [with N=3]" at line 128
85112
113+ "Test_name.c", line 127: warning: out-of-order initializers are nonstandard in C++
114+ .a = 1
115+ ^
116+
117+ "Test_name.c", line 101: error: a class or namespace qualified name is required
118+ template<typename T> struct Error { using type = typename T::type; }; // expected-error 3{{'::'}}
119+ ^
120+ detected during:
121+ instantiation of class "NoCheckingFilledHoles::Error<T> [with T=int [4]]" at line 105
122+ instantiation of "NoCheckingFilledHoles::DefaultInitIsError<N>::DefaultInitIsError(NoCheckingFilledHoles::Error<int [N]>) [with N=4]" at line 132
123+
124+ "Test_name.c", line 101: error: expected a ";"
125+ template<typename T> struct Error { using type = typename T::type; }; // expected-error 3{{'::'}}
126+ ^
127+ detected during:
128+ instantiation of class "NoCheckingFilledHoles::Error<T> [with T=int [4]]" at line 105
129+ instantiation of "NoCheckingFilledHoles::DefaultInitIsError<N>::DefaultInitIsError(NoCheckingFilledHoles::Error<int [N]>) [with N=4]" at line 132
130+
86131"Test_name.c", line 135: warning: out-of-order initializers are nonstandard in C++
87132 .a = 1,
88133 ^
89134
135+ "Test_name.c", line 101: error: a class or namespace qualified name is required
136+ template<typename T> struct Error { using type = typename T::type; }; // expected-error 3{{'::'}}
137+ ^
138+ detected during:
139+ instantiation of class "NoCheckingFilledHoles::Error<T> [with T=int [6]]" at line 105
140+ instantiation of "NoCheckingFilledHoles::DefaultInitIsError<N>::DefaultInitIsError(NoCheckingFilledHoles::Error<int [N]>) [with N=6]" at line 142
141+
142+ "Test_name.c", line 101: error: expected a ";"
143+ template<typename T> struct Error { using type = typename T::type; }; // expected-error 3{{'::'}}
144+ ^
145+ detected during:
146+ instantiation of class "NoCheckingFilledHoles::Error<T> [with T=int [6]]" at line 105
147+ instantiation of "NoCheckingFilledHoles::DefaultInitIsError<N>::DefaultInitIsError(NoCheckingFilledHoles::Error<int [N]>) [with N=6]" at line 142
148+
90149"Test_name.c", line 141: warning: out-of-order initializers are nonstandard in C++
91150 .e = {4, 4}
92151 ^
93152
153+ "Test_name.c", line 101: error: a class or namespace qualified name is required
154+ template<typename T> struct Error { using type = typename T::type; }; // expected-error 3{{'::'}}
155+ ^
156+ detected during:
157+ instantiation of class "NoCheckingFilledHoles::Error<T> [with T=int [7]]" at line 105
158+ instantiation of "NoCheckingFilledHoles::DefaultInitIsError<N>::DefaultInitIsError(NoCheckingFilledHoles::Error<int [N]>) [with N=7]" at line 148
159+
160+ "Test_name.c", line 101: error: expected a ";"
161+ template<typename T> struct Error { using type = typename T::type; }; // expected-error 3{{'::'}}
162+ ^
163+ detected during:
164+ instantiation of class "NoCheckingFilledHoles::Error<T> [with T=int [7]]" at line 105
165+ instantiation of "NoCheckingFilledHoles::DefaultInitIsError<N>::DefaultInitIsError(NoCheckingFilledHoles::Error<int [N]>) [with N=7]" at line 148
166+
94167"Test_name.c", line 101: error: a class or namespace qualified name is required
95168 template<typename T> struct Error { using type = typename T::type; }; // expected-error 3{{'::'}}
96169 ^
@@ -119,4 +192,4 @@ fe_only -DTEST_NUMBER=1 --clang -tused -e 200 --no_wrap_diagnostics --clang_vers
119192 ^
120193 detected during instantiation of "void Bar<T>::Test() [with T=bool]" at line 33
121194
122- 11 errors detected in the compilation of "Test_name.c".
195+ 21 errors detected in the compilation of "Test_name.c".
0 commit comments