summaryrefslogtreecommitdiff
path: root/gcc/testsuite/obj-c++.dg/pragma-1.mm
blob: 3d3539ed3f3ef35c0d6e059ca9bac6095e43eea2 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* 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