PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / objc.dg / objc-nofilename-1.m
blob21e0c53b70e9c8f9330c48bf6443f33ec1d864c3
1 /* Test to make sure that file name does not appear in the binary. */
2 /* { dg-do compile { target *-*-darwin* } } */
4 #include <objc/objc.h>
6 @interface Foo { Class isa; } @end
7 @implementation Foo @end
9 @interface Bar : Foo { Class Barisa; } @end
11 @implementation Bar : Foo @end;
13 @interface FINAL : Bar { Class FINALisa; } @end
15 @implementation FINAL : Bar @end;
17 int main(int argc, char **argv)
19      return 0;
22 /* { dg-final { scan-assembler-not "objc-nofilename-1.m" } } */