Debian Codegraph @

gcc/testsuite/objc.dg/objc-nofilename-1.m

raw
1 /* Test to make sure that file name does not appear in the binary. */
2 /* { dg-do compile { target *-*-darwin* } } */
3 /* { dg-additional-options "-Wno-objc-root-class" } */
4
5 #include <objc/objc.h>
6
7 @interface Foo { Class isa; } @end
8 @implementation Foo @end
9
10 @interface Bar : Foo { Class Barisa; } @end
11
12 @implementation Bar : Foo @end;
13
14 @interface FINAL : Bar { Class FINALisa; } @end
15
16 @implementation FINAL : Bar @end;
17
18 int main(int argc, char **argv)
19 {
20 return 0;
21 }
22
23 /* { dg-final { scan-assembler-not "objc-nofilename-1.m" } } */