mips.h (ISA_HAS_DSP, [...]): New macros.
[official-gcc.git] / gcc / testsuite / gcc.dg / darwin-20040812-1.c
blob4ae8657ba0d9f3b033e96871fe4598579cda9da7
1 /* Test dead code strip support. */
2 /* Contributed by Devang Patel <dpatel@apple.com> */
4 /* { dg-do compile { target *-*-darwin* } } */
6 const char my_version_string[] __attribute__((__used__))
7 = "Do not remove this string\n";
9 static int
10 __attribute__((__used__))
11 static_debug_routine()
13 int i;
14 i = 42;
17 int
18 main ()
20 return 0;
23 /* { dg-final { scan-assembler ".no_dead_strip _my_version_string" } } */
24 /* { dg-final { scan-assembler ".no_dead_strip _static_debug_routine" } } */