OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/51553
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist40.C
1
// { dg-options "-std=c++0x" }
2
3
struct A
4
{
5
explicit A(int = 42);
6
};
7
8
int main()
9
{
10
A a1 = { };
11
A a2 = { 24 }; // { dg-error "explicit" }
12
}