aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>1999-03-24 22:50:54 -0500
committerJason Merrill <jason@gcc.gnu.org>1999-03-24 22:50:54 -0500
commitfe1e8929ab1a5f978944272f389d7bb3bbe3dac0 (patch)
tree84703a897968a5db3d5e44e639c9695d05ca5671 /gcc
parent45075bf3dfcfac0abc6b63a5a948aef785514f4a (diff)
downloadgcc-fe1e8929ab1a5f978944272f389d7bb3bbe3dac0.zip
gcc-fe1e8929ab1a5f978944272f389d7bb3bbe3dac0.tar.gz
gcc-fe1e8929ab1a5f978944272f389d7bb3bbe3dac0.tar.bz2
new
From-SVN: r25971
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/signed.C16
1 files changed, 16 insertions, 0 deletions
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
index 0000000..3bdce03
--- /dev/null
+++ b/gcc/testsuite/g++.old-deja/g++.other/signed.C
@@ -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);
+}