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
/
initlist131.C
blob
a714215219a344fe642875bfee85ec598ab47e1c
1
// PR c++/108071
2
// { dg-do compile { target c++11 } }
3
4
#include <initializer_list>
5
6
struct OptSpecifier {
7
explicit OptSpecifier(bool);
8
OptSpecifier(unsigned);
9
};
10
void f (std::initializer_list<OptSpecifier>);
11
int main()
12
{
13
f({1});
14
}