simulate-thread tests: Silence gdb debuginfod warning
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-compound.C
blobc23e1483b4b655a9153639d5437cb70f500ebb8f
1 // { dg-do compile { target c++11 } }
3 constexpr int f()
5   {                             // { dg-error "compound-statement" "" { target { c++11_only } } }
6     return 1;
7   }
8   { }                           // { dg-error "compound-statement" "" { target { c++11_only } } }