aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/obj-c++.dg/pragma-1.mm
blob: c732053ce0b461586a0dce2fd3f80f9501db5671 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* APPLE LOCAL file Objective-C++ */
/* It is OK to use #pragma inside @interface body. This test checks that.  */
/* Devang Patel  <dpatel@apple.com>.  */

@interface A
{
   int p;
}
+(int) foo;
#pragma Mark foobar
-(int) bar;
@end