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
/
opt
/
expect1.C
blob
90a871f377ade50353a7321da4e18855b5623a3f
1
// PR c++/13239
2
// { dg-do run }
3
// { dg-options "-O2" }
4
5
extern "C" void abort (void);
6
7
struct Y {
8
int i;
9
};
10
11
bool foo () { return true; }
12
Y bar () { Y y = {0}; return y; }
13
14
int main ()
15
{
16
__builtin_expect (foo () && (bar ().i) == 0, 0) ? 0 : (abort (), 1);
17
}