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++/38648
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
expr
/
cond9.C
1
// PR c++/27666
2
3
struct A { // { dg-message "A" }
4
A(int); // { dg-message "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
}