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
[AArch64/arm] PR testsuite/85326 Avoid C++ tests when C++ compiler not present
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
init
/
explicit2.C
blob
604426ae6d214a9275124aea81e8e7ec32076365
1
// PR c++/60417
2
// { dg-options -pedantic }
3
4
struct A { explicit A(int = 0); };
5
6
int main()
7
{
8
A a[1] = { }; // { dg-warning "explicit" "" { target c++11 } }
9
}