OSDN Git Service

Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / fshort-wchar.c
index 074e872..c9c7515 100644 (file)
@@ -2,11 +2,14 @@
 
 /* { dg-do run } */
 /* { dg-options "-fshort-wchar" } */
+/* { dg-options "-fshort-wchar -Wl,--no-wchar-size-warning" { target arm*-*-*eabi } } */
 
 /* Source: Neil Booth, 10 Dec 2002.
 
    Test that __WCHAR_MAX__ is correct with -fshort-wchar.  */
 
+extern void abort (void);
+
 int main ()
 {
   __WCHAR_TYPE__ w = ~(__WCHAR_TYPE__) 0;