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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [objc.dg/] [ivar-extra-semicolon.m] - Blame information for rev 797

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

Line No. Rev Author Line
1 704 jeremybenn
/* Contributed by Nicola Pero <nicola.pero@meta-innovation.com>, May 2011.  */
2
/* { dg-do compile } */
3
/* { dg-options "-pedantic" } */
4
 
5
#include <objc/objc.h>
6
 
7
@interface MyClass
8
{
9
  ;       /* { dg-warning "extra semicolon" } */
10
  int a;
11
  ;       /* { dg-warning "extra semicolon" } */
12
  int b;
13
  ;       /* { dg-warning "extra semicolon" } */
14
}
15
@end

powered by: WebSVN 2.1.0

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