OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [opt/] [expect2.C] - Blame information for rev 825

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// 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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.