|
| 1 | +fe_only -DTEST_NUMBER=2 -tused --gnu_version 150200 Test_name.c |
| 2 | +"Test_name.c", line 11: error: static assertion failed with "" |
| 3 | + static_assert(sizeof(T) == 0, ""); |
| 4 | + ^ |
| 5 | +"Test_name.c", line 11: note: the final comparison was 4 == 0 |
| 6 | + static_assert(sizeof(T) == 0, ""); |
| 7 | + ^ |
| 8 | + detected during instantiation of "void direct_call::C<T>::f() [with T=int]" at line 20 |
| 9 | + |
| 10 | +"Test_name.c", line 33: error: static assertion failed with "" |
| 11 | + static_assert(sizeof(T) == 0, ""); |
| 12 | + ^ |
| 13 | +"Test_name.c", line 33: note: the final comparison was 4 == 0 |
| 14 | + static_assert(sizeof(T) == 0, ""); |
| 15 | + ^ |
| 16 | + detected during instantiation of "void direct_call_inline_out_of_class::C<T>::f() [with T=int]" at line 40 |
| 17 | + |
| 18 | +"Test_name.c", line 50: error: static assertion failed with "" |
| 19 | + static_assert(sizeof(T) == 0, ""); |
| 20 | + ^ |
| 21 | +"Test_name.c", line 50: note: the final comparison was 4 == 0 |
| 22 | + static_assert(sizeof(T) == 0, ""); |
| 23 | + ^ |
| 24 | + detected during instantiation of "void explicit_instantiation::C<T>::f() [with T=int]" at line 56 |
| 25 | + |
| 26 | +"Test_name.c", line 68: error: static assertion failed with "" |
| 27 | + static_assert(sizeof(T) == 0, ""); |
| 28 | + ^ |
| 29 | +"Test_name.c", line 68: note: the final comparison was 4 == 0 |
| 30 | + static_assert(sizeof(T) == 0, ""); |
| 31 | + ^ |
| 32 | + detected during instantiation of "void explicit_instantiation_out_of_class::C<T>::f() [with T=int]" at line 72 |
| 33 | + |
| 34 | +"Test_name.c", line 84: error: static assertion failed with "" |
| 35 | + static_assert(sizeof(T) == 0, ""); |
| 36 | + ^ |
| 37 | +"Test_name.c", line 84: note: the final comparison was 4 == 0 |
| 38 | + static_assert(sizeof(T) == 0, ""); |
| 39 | + ^ |
| 40 | + detected during instantiation of "void explicit_instantiation_inline_out_of_class::C<T>::f() [with T=int]" at line 88 |
| 41 | + |
| 42 | +"Test_name.c", line 97: error: static assertion failed with "" |
| 43 | + static_assert(sizeof(T) == 0, ""); |
| 44 | + ^ |
| 45 | +"Test_name.c", line 97: note: the final comparison was 4 == 0 |
| 46 | + static_assert(sizeof(T) == 0, ""); |
| 47 | + ^ |
| 48 | + detected during instantiation of "void derived_vtable::C<T>::f() [with T=int]" |
| 49 | + |
| 50 | +"Test_name.c", line 121: error: static assertion failed with "" |
| 51 | + static_assert(sizeof(T) == 0, ""); |
| 52 | + ^ |
| 53 | +"Test_name.c", line 121: note: the final comparison was 4 == 0 |
| 54 | + static_assert(sizeof(T) == 0, ""); |
| 55 | + ^ |
| 56 | + detected during instantiation of "void derived_vtable_inline_out_of_class::C<T>::f() [with T=int]" |
| 57 | + |
| 58 | +"Test_name.c", line 141: error: static assertion failed with "" |
| 59 | + static_assert(sizeof(T) == 0, ""); |
| 60 | + ^ |
| 61 | +"Test_name.c", line 141: note: the final comparison was 4 == 0 |
| 62 | + static_assert(sizeof(T) == 0, ""); |
| 63 | + ^ |
| 64 | + detected during instantiation of "void inline_template::C<T>::f() [with T=int]" |
| 65 | + |
| 66 | +"Test_name.c", line 159: error: static assertion failed with "" |
| 67 | + static_assert(sizeof(T) == 0, ""); |
| 68 | + ^ |
| 69 | +"Test_name.c", line 159: note: the final comparison was 4 == 0 |
| 70 | + static_assert(sizeof(T) == 0, ""); |
| 71 | + ^ |
| 72 | + detected during instantiation of "void inline_template_inline_out_of_class::C<T>::f() [with T=int]" |
| 73 | + |
| 74 | +9 errors detected in the compilation of "Test_name.c". |
0 commit comments