diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/signed.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.other/signed.C | 16 |
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 000000000..2c95f3db4 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.other/signed.C @@ -0,0 +1,16 @@ +// { dg-do assemble } + +// 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); +} |