diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/arm/symbian5.c')
-rw-r--r-- | gcc/testsuite/gcc.target/arm/symbian5.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/arm/symbian5.c b/gcc/testsuite/gcc.target/arm/symbian5.c new file mode 100644 index 00000000000..0bde6b0cba3 --- /dev/null +++ b/gcc/testsuite/gcc.target/arm/symbian5.c @@ -0,0 +1,8 @@ +/* { dg-do compile { target arm*-*-symbianelf* } } */ +/* { dg-options "-fno-short-wchar" } */ +/* Check that wchar_t is a 4-byte type when -fno-short-wchar is + used. */ + +extern int i[sizeof (L'a')]; +int i[4]; + |