libcpp/ChangeLog:
[official-gcc.git] / gcc / testsuite / g++.dg / ext / utf-typedef-cxx0x.C
blob789d08b9cc202f77fd8077af6ecc84c865c29ad7
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" } */