New testcase
authorcrux <crux@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Dec 1999 10:01:23 +0000 (10:01 +0000)
committercrux <crux@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Dec 1999 10:01:23 +0000 (10:01 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30908 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/991214-1.c [new file with mode: 0644]

index 6374f11..4aa9038 100644 (file)
@@ -1,3 +1,7 @@
+1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
+
+       * gcc.dg/991214-1.c: New test.
+       
 Mon Dec 13 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
 
        * gcc.c-torture/compile/991213-3.c: New test.
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));
+}