re PR c++/57891 (No diagnostic of narrowing conversion in non-type template argument)
[official-gcc.git] / gcc / testsuite / g++.dg / ext / stmtexpr15.C
blob1a60a0d3cad2bd021a60daf27b8c0b909770c3c6
1 // PR c++/59097
2 // { dg-options "" }
4 void foo()
6   int x[({ return; })];         // { dg-error "could not convert|non-integral" }