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