|
| 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 145: error: static assertion failed with "" |
| 59 | + static_assert(sizeof(T) == 0, ""); |
| 60 | + ^ |
| 61 | +"Test_name.c", line 145: note: the final comparison was 1 == 0 |
| 62 | + static_assert(sizeof(T) == 0, ""); |
| 63 | + ^ |
| 64 | + detected during instantiation of "void internal_linkage::C<T>::f() [with T=internal_linkage::<unnamed>::Local]" |
| 65 | + |
| 66 | +"Test_name.c", line 168: error: static assertion failed with "" |
| 67 | + static_assert(sizeof(T) == 0, ""); |
| 68 | + ^ |
| 69 | +"Test_name.c", line 168: note: the final comparison was 1 == 0 |
| 70 | + static_assert(sizeof(T) == 0, ""); |
| 71 | + ^ |
| 72 | + detected during instantiation of "void internal_linkage_inline_out_of_class::C<T>::f() [with T=internal_linkage_inline_out_of_class::<unnamed>::Local]" |
| 73 | + |
| 74 | +"Test_name.c", line 183: error: static assertion failed with "" |
| 75 | + static_assert(sizeof(T) == 0, ""); |
| 76 | + ^ |
| 77 | +"Test_name.c", line 183: note: the final comparison was 4 == 0 |
| 78 | + static_assert(sizeof(T) == 0, ""); |
| 79 | + ^ |
| 80 | + detected during instantiation of "void internal_linkage_template::<unnamed>::C<T>::f() [with T=int]" |
| 81 | + |
| 82 | +"Test_name.c", line 207: error: static assertion failed with "" |
| 83 | + static_assert(P == nullptr, ""); |
| 84 | + ^ |
| 85 | + detected during instantiation of "void internal_linkage_nontype_argument::C<P>::f() [with P=&internal_linkage_nontype_argument::value]" |
| 86 | + |
| 87 | +"Test_name.c", line 223: error: static assertion failed with "" |
| 88 | + static_assert(sizeof(T) == 0, ""); |
| 89 | + ^ |
| 90 | +"Test_name.c", line 223: note: the final comparison was 4 == 0 |
| 91 | + static_assert(sizeof(T) == 0, ""); |
| 92 | + ^ |
| 93 | + detected during instantiation of "void direct_virtual_call::C<T>::f() [with T=int]" at line 232 |
| 94 | + |
| 95 | +"Test_name.c", line 245: error: static assertion failed with "" |
| 96 | + static_assert(sizeof(T) == 0, ""); |
| 97 | + ^ |
| 98 | +"Test_name.c", line 245: note: the final comparison was 4 == 0 |
| 99 | + static_assert(sizeof(T) == 0, ""); |
| 100 | + ^ |
| 101 | + detected during instantiation of "void direct_virtual_call_inline_out_of_class::C<T>::f() [with T=int]" at line 252 |
| 102 | + |
| 103 | +"Test_name.c", line 262: error: static assertion failed with "" |
| 104 | + static_assert(sizeof(T) == 0, ""); |
| 105 | + ^ |
| 106 | +"Test_name.c", line 262: note: the final comparison was 4 == 0 |
| 107 | + static_assert(sizeof(T) == 0, ""); |
| 108 | + ^ |
| 109 | + detected during instantiation of "void specialized_nested_class::Base<T>::f() [with T=int]" |
| 110 | + |
| 111 | +"Test_name.c", line 287: error: static assertion failed with "" |
| 112 | + static_assert(sizeof(T) == 0, ""); |
| 113 | + ^ |
| 114 | +"Test_name.c", line 287: note: the final comparison was 4 == 0 |
| 115 | + static_assert(sizeof(T) == 0, ""); |
| 116 | + ^ |
| 117 | + detected during instantiation of "void nontemplate_nested_class::Base<T>::f() [with T=int]" |
| 118 | + |
| 119 | +"Test_name.c", line 314: error: static assertion failed with "" |
| 120 | + static_assert(N != 2, ""); |
| 121 | + ^ |
| 122 | +"Test_name.c", line 314: note: the final comparison was 2 != 2 |
| 123 | + static_assert(N != 2, ""); |
| 124 | + ^ |
| 125 | + detected during instantiation of "void unsuppressed_specialization::C<N>::f() [with N=2]" |
| 126 | + |
| 127 | +"Test_name.c", line 331: error: static assertion failed with "" |
| 128 | + static_assert(sizeof(T) == 0, ""); |
| 129 | + ^ |
| 130 | +"Test_name.c", line 331: note: the final comparison was 4 == 0 |
| 131 | + static_assert(sizeof(T) == 0, ""); |
| 132 | + ^ |
| 133 | + detected during instantiation of "void inline_template::C<T>::f() [with T=int]" |
| 134 | + |
| 135 | +"Test_name.c", line 349: error: static assertion failed with "" |
| 136 | + static_assert(sizeof(T) == 0, ""); |
| 137 | + ^ |
| 138 | +"Test_name.c", line 349: note: the final comparison was 4 == 0 |
| 139 | + static_assert(sizeof(T) == 0, ""); |
| 140 | + ^ |
| 141 | + detected during instantiation of "void inline_template_inline_out_of_class::C<T>::f() [with T=int]" |
| 142 | + |
| 143 | +18 errors detected in the compilation of "Test_name.c". |
0 commit comments