aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2005-10-29 21:09:24 +0000
committerMike Stump <mrs@apple.com>2005-10-29 21:09:24 +0000
commit78633ecda13f263a670dd47fce0139a6a73e44bb (patch)
treea8fafc8e9c8b63bd1e696a778faedd545d11fb77
parent87e14d516bddbd8f30ba97b91710c4f9e936ca9f (diff)
Add missed testcase.apple/gcc-5247
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-200511-release-branch@105996 138bc75d-0d04-0410-961f-82ee72b054a4
-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");
+}