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++/18698
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
condexpr1.C
1
// PR c++/10247
2
// Origin: Lars Gullik Bjønes <larsbj@lyx.org>
3
// { dg-do compile }
4
5
struct A {};
6
7
A const foo();
8
9
void bar()
10
{
11
A a = foo();
12
A b = true ? a : foo();
13
}