repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
re PR c++/57891 (No diagnostic of narrowing conversion in non-type template argument)
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
stmtexpr15.C
blob
1a60a0d3cad2bd021a60daf27b8c0b909770c3c6
1
// PR c++/59097
2
// { dg-options "" }
3
4
void foo()
5
{
6
int x[({ return; })]; // { dg-error "could not convert|non-integral" }
7
}