repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
expr
/
cond9.C
blob
9e8f08c1d6b78b3ca68dfad3ff580f722cc35dc9
1
// PR c++/27666
2
3
struct A { // { dg-error "A" }
4
A(int); // { dg-error "A" }
5
};
6
7
void foo(volatile A a) {
8
1 ? a : 0; // { dg-error "match|temporary" }
9
1 ? 0 : a; // { dg-error "match|temporary" }
10
}