* gcc.dg/conv-1.c: New test.
authorAlexandre Oliva <oliva@lsd.ic.unicamp.br>
Wed, 26 Jan 2000 07:14:06 +0000 (07:14 +0000)
committerAlexandre Oliva <oliva@gcc.gnu.org>
Wed, 26 Jan 2000 07:14:06 +0000 (07:14 +0000)
From-SVN: r31626

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

index 1ec2bc12c08b8788a5d630320de1d90272ba2f79..6f244fbba9e6e86da5fdc9dab7389067c76c6b96 100644 (file)
@@ -1,3 +1,7 @@
+2000-01-26  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
+
+       * gcc.dg/conv-1.c: New test.
+
 2000-01-24  Mark Mitchell  <mark@codesourcery.com>
 
        * lib/g++.exp (g++init): Use g++, not xgcc, to invoke the C++
diff --git a/gcc/testsuite/gcc.dg/conv-1.c b/gcc/testsuite/gcc.dg/conv-1.c
new file mode 100644 (file)
index 0000000..07e41a6
--- /dev/null
@@ -0,0 +1,11 @@
+/* Copyright (C) 2000  Free Software Foundation.
+
+   by Alexandre Oliva  <oliva@lsd.ic.unicamp.br>  */
+
+/* { dg-do compile } */
+
+double
+foo (unsigned long var)
+{
+  return var;
+}