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] - Rev 704

Compare with Previous | Blame | View Log

/* Contributed by Nicola Pero <nicola.pero@meta-innovation.com>, May 2011.  */
/* { dg-do compile } */
/* { dg-options "-pedantic" } */
 
#include <objc/objc.h>
 
@interface MyClass
{
  ;       /* { dg-warning "extra semicolon" } */
  int a;  
  ;       /* { dg-warning "extra semicolon" } */
  int b;
  ;       /* { dg-warning "extra semicolon" } */
}
@end
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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