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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/32121
2
// { dg-do compile }
3
 
4
int f (void)
5
{
6
  a:;
7
  __label__ a;  // { dg-error "not at the beginning" }
8
  int b;
9
  __label__ c;  // { dg-error "not at the beginning" }
10
  a:;           // { dg-error "duplicate label" }
11
  c:;
12
}

powered by: WebSVN 2.1.0

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