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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [ext/] [label13.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/41090
2
// { dg-do run }
3
// { dg-options "" }
4
 
5
int i;
6
struct C
7
{
8
  C();
9
};
10
 
11
C::C()  // { dg-bogus "can never be copied" "" { xfail { { *-apple-darwin* alpha*-dec-osf* } || { hppa*-*-hpux* && { ! lp64 } } } } }
12
{
13
  static void *labelref = &&label;
14
  goto *labelref;
15
 label: i = 1;
16
}
17
 
18
int main()
19
{
20
  C c;
21
  return (i != 1);
22
}

powered by: WebSVN 2.1.0

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