aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.apple/i386-att-stub-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.apple/i386-att-stub-1.c')
-rw-r--r--gcc/testsuite/gcc.apple/i386-att-stub-1.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.apple/i386-att-stub-1.c b/gcc/testsuite/gcc.apple/i386-att-stub-1.c
new file mode 100644
index 00000000000..dbe2bbcf033
--- /dev/null
+++ b/gcc/testsuite/gcc.apple/i386-att-stub-1.c
@@ -0,0 +1,11 @@
+/* APPLE LOCAL file Radar 4164563 */
+/* { dg-do compile { target i?86-*-darwin* } } */
+/* { dg-options "-matt-stubs" } */
+/* { dg-final { scan-assembler "hlt" } } */
+
+#include <stdio.h>
+
+int main()
+{
+ printf ("hello, world\n");
+}