repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr94303.C
blob
45b90a2249de32a1418f843296bd66e218b1d56e
1
// PR middle-end/94303
2
// { dg-do run }
3
4
struct A {
5
int d = 9;
6
A () = default;
7
A (int x) : d(x) {}
8
void foo () { if (d < 1) __builtin_abort (); }
9
};
10
11
A a[3] = { 1 };
12
13
int
14
main ()
15
{
16
a[2].foo ();
17
}