* gcc.dg/kpice1.c: New test.
authorNitin Yewale <nitiny@kpitcummins.com>
Wed, 23 Jun 2004 19:58:01 +0000 (13:58 -0600)
committerJeff Law <law@gcc.gnu.org>
Wed, 23 Jun 2004 19:58:01 +0000 (13:58 -0600)
From-SVN: r83563

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/kpice1.c [new file with mode: 0644]

index 2afaf6e07a2418af34231609d0cc532a1ef7933b..fd9029a55993bf34b98dc929a4626c66af75b992 100644 (file)
@@ -1,3 +1,7 @@
+2006-06-23  Nitin Yewale <NitinY@KPITCummins.com>
+
+       * gcc.dg/kpice1.c: New test.
+
 2006-06-23  Andrew Pinski  <apinski@apple.com>
 
        * gcc.dg/c90-array-quals.c: New test.
diff --git a/gcc/testsuite/gcc.dg/kpice1.c b/gcc/testsuite/gcc.dg/kpice1.c
new file mode 100644 (file)
index 0000000..be9179b
--- /dev/null
@@ -0,0 +1,6 @@
+/* { dg-do compile { target h8300-*-* } } */
+/* { dg-options "-ms -mn" } */
+
+void f(void) __attribute__((interrupt_handler));
+void g(void) { }
+void f(void) { g(); }