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
PR c++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
init
/
explicit1.C
blob
328e867319800049e45dae4657393dc15d2bbb58
1
// PR c++/60417
2
// { dg-options -pedantic }
3
4
struct A { explicit A(int = 0); };
5
struct B { A a; };
6
7
int main()
8
{
9
B b = {}; // { dg-warning "explicit" "" { target c++11 } }
10
}