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
/cp
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist16.C
blob
86a003960517375a6ad8f92d95c5abae3b1e2350
1
// { dg-options "-std=c++0x" }
2
// { dg-do run }
3
4
extern "C" void abort();
5
6
void f(int i) { if (i != 42) abort(); }
7
8
int main()
9
{
10
f({42});
11
return {0};
12
}