OSDN Git Service

New testcase
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / 991214-1.c
diff --git a/gcc/testsuite/gcc.dg/991214-1.c b/gcc/testsuite/gcc.dg/991214-1.c
new file mode 100644 (file)
index 0000000..2bc7f3f
--- /dev/null
@@ -0,0 +1,7 @@
+/* { dg-do compile { target i?86-*-* } } */
+
+int foo (int, int) __attribute__ ((regparm (3)));
+int foo (int x, int y)
+{
+  asm volatile("" : : "d" (x), "r" (y));
+}