summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/20040813-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/20040813-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/20040813-1.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/20040813-1.c b/gcc/testsuite/gcc.dg/20040813-1.c
new file mode 100644
index 000000000..fa01a5302
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/20040813-1.c
@@ -0,0 +1,15 @@
+/* Test lang in N_SO stab. */
+/* Contributed by Devang Patel <dpatel@apple.com> */
+
+/* { dg-do compile } */
+/* { dg-skip-if "No stabs" { mmix-*-* *-*-aix* *-*-netware* alpha*-*-* hppa*64*-*-* ia64-*-* *-*-vxworks* } { "*" } { "" } } */
+/* { dg-options "-gstabs" } */
+
+int
+main ()
+{
+ return 0;
+}
+
+/* { dg-final { scan-assembler ".stabs.*100,0,2" } } */
+