Be careful about comdat boundary in ICF (PR ipa/82352).
[official-gcc.git] / gcc / testsuite / g++.dg / ext / utf-typedef-cxx0x.C
blob3503f11a264037b8acfdc95bbdf17c0851e27289
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" } */