repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist129.C
blob
4d4faa9e08d9cb8893dcf9b1f81194e5ddfcbb09
1
// PR c++/104996
2
// { dg-do compile { target c++11 } }
3
4
template<unsigned size> char f(int (&&)[size]);
5
template<unsigned size> int f(int const (&)[size]);
6
static_assert(sizeof(f({1, 2, 3})) == 1, "");