From 68fe00c07c76d07987528c0353bc4b2c6b3146cf Mon Sep 17 00:00:00 2001 From: Jeffrey A Law Date: Fri, 12 Feb 1999 23:47:51 +0000 Subject: [PATCH] * gcc.dg/990213-1.c: New test. From-SVN: r25173 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/990213-1.c | 12 ++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 gcc/testsuite/gcc.dg/990213-1.c diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index db1178971e2..b8fb480ab18 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +Sat Feb 13 00:43:52 1999 Jeffrey A Law (law@cygnus.com) + + * gcc.dg/990213-1.c: New test. + Fri Feb 12 11:04:35 1999 Jeffrey A Law (law@cygnus.com) * gcc.c-torture/990106-2.c: Update to work on targets with 16bit diff --git a/gcc/testsuite/gcc.dg/990213-1.c b/gcc/testsuite/gcc.dg/990213-1.c new file mode 100644 index 00000000000..a7c9f24898a --- /dev/null +++ b/gcc/testsuite/gcc.dg/990213-1.c @@ -0,0 +1,12 @@ +/* { dg-do compile } */ +/* { dg-options "-W -Wall -Werror" } */ + +static inline int unused_fn(int dummyarg) +{ + return dummyarg*dummyarg; +} + +int main() +{ + return 0; +}