1 /* Contributed by Kris Van Hees <kris.van.hees@oracle.com> */
2 /* Ensure that a typedef to char16_t/char32_t issues an error in c++0x. */
3 /* { dg-do compile { target c++11 } } */
5 typedef short unsigned int char16_t; /* { dg-error "redeclaration" } */
6 typedef unsigned int char32_t; /* { dg-error "redeclaration" } */