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
2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr80129.C
blob
134293cd08554a27bc700584849ba7681b1f964e
1
// PR c++/80129
2
// { dg-do run }
3
// { dg-options "-std=c++11" }
4
5
struct A { bool a; int b; };
6
7
int
8
main ()
9
{
10
bool c = false;
11
const A x = c ? A {true, 1} : A {false, 0};
12
if (x.a)
13
__builtin_abort ();
14
}