new
authorJason Merrill <jason@gcc.gnu.org>
Thu, 25 Mar 1999 03:50:54 +0000 (22:50 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 25 Mar 1999 03:50:54 +0000 (22:50 -0500)
From-SVN: r25971

gcc/testsuite/g++.old-deja/g++.other/signed.C [new file with mode: 0644]

diff --git a/gcc/testsuite/g++.old-deja/g++.other/signed.C b/gcc/testsuite/g++.old-deja/g++.other/signed.C
new file mode 100644 (file)
index 0000000..3bdce03
--- /dev/null
@@ -0,0 +1,16 @@
+// Build don't link:
+
+// Copyright (C) 1999 Free Software Foundation, Inc.
+// Contributed by Nathan Sidwell 24 Mar 1999 <nathan@acm.org>
+
+// Determine that function style casts are groked
+
+void fn()
+{
+  +char(5);
+  +short(5);
+  +int(5);
+  +long(5);
+  +signed(5);
+  +unsigned(5);
+}