* semantics.c (finish_non_static_data_member): Call maybe_dummy_object
[official-gcc/constexpr.git] / gcc / testsuite / g++.dg / template / static28.C
blobeb5ec5313e5e8135f9b8c72a939e5549bff4acd7
1 // PR c++/29518
3 template< bool C > int assertion_failed( int);
4 template< class > 
5 struct N
7   static bool const okay = true;
8   enum {
9     t = sizeof( assertion_failed<okay>( 0))
10   };
12 int main()
14   N<int> n;