testsuite: aix testsuite adjustments
[gcc.git] / gcc / testsuite / gcc.dg / cpp / ucs.c
index f52cd5712587f34b0c38d213bfd50d5664cb9555..0fdd23bffb54c3f9587b8f06e1df7aeccc3c763d 100644 (file)
@@ -43,7 +43,7 @@
 #endif
 
 #if WCHAR_MAX >= 0x7ffffff
-# if L'\U1234abcd' != 0x1234abcd /* { dg-warning "outside" "" } */
+# if L'\U1234abcd' != 0x1234abcd /* { dg-warning "outside" "" { xfail powerpc-ibm-aix* } } */
 #  error bad long ucs  /* { dg-bogus "bad" "bad U1234abcd evaluation" } */
 # endif
 #endif
@@ -69,5 +69,5 @@ void foo ()
   c = L"\uD800"[0];    /* { dg-error "not a valid" "D800 invalid UCN" } */
   c = L'\U0000DFFF';   /* { dg-error "not a valid" "DFFF invalid UCN" } */
 
-  c = L'\U00110000';   /* { dg-warning "outside" "110000 outside UCS" } */
+  c = L'\U00110000';   /* { dg-warning "outside|Invalid" "110000 outside UCS" } */
 }