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
* ru.po: Update.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
opt
/
expect2.C
blob
1bb5d8331f089aaf6d47dc1f77e4db509ee7654d
1
// PR c++/13392
2
// { dg-do compile }
3
// { dg-options "-O0" }
4
5
extern "C" void abort (void);
6
struct X { ~X () throw() {} };
7
bool foo (X s = X ()) { return false; }
8
void bar ()
9
{
10
__builtin_expect (foo () && true, 1) ? 0 : (abort (), 0);
11
}