aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/bincl-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/bincl-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/bincl-1.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/bincl-1.c b/gcc/testsuite/gcc.dg/bincl-1.c
new file mode 100644
index 00000000000..222fe1b4e76
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/bincl-1.c
@@ -0,0 +1,19 @@
+/* APPLE LOCAL file bincl/eincl stabs */
+/* Test BINCL/EINCL stabs. */
+/* Contributed by Devang Patel <dpatel@apple.com> */
+
+/* { dg-do compile } */
+/* { dg-skip-if "No stabs" { mmix-*-* *-*-aix* *-*-netware* alpha*-*-* hppa*64*-*-* ia64-*-* } { "*" } { "" } } */
+/* { dg-options "-gstabs -fno-eliminate-unused-debug-symbols" } */
+
+#include "bincl-1.h"
+int
+main ()
+{
+ my_int j = 0;
+ return j;
+}
+
+/* { dg-final { scan-assembler ".stabs.*130,0,0,0" } } */
+/* { dg-final { scan-assembler ".stabs.*162,0,0,0" } } */
+