OSDN Git Service

* gcc.target/i386/pr23376: Compile with -mmmx.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / objc.dg / pragma-1.m
1 /* It is OK to use #pragma inside @implementation body. This test checks that.  */
2 /* Ziemowit Laski  <zlaski@apple.com>.  */
3
4 @interface A
5 {
6    int p;
7 }
8 +(int) foo;
9 -(int) bar;
10 @end
11
12 @implementation A
13 #pragma mark -
14 #pragma mark init / dealloc
15 + (int)foo {
16   return 1;
17 }
18 #pragma mark -
19 #pragma mark Private Functions
20 - (int)bar {
21   return 2;
22 }
23 @end