Merge from trunk @ 138209
[official-gcc.git] / gcc / testsuite / g++.dg / ext / utf-rtti.C
blobb5d201b4d7aa63a91d3def06e2b4cb115f3bc8a2
1 /* Contributed by Kris Van Hees <kris.van.hees@oracle.com> */
2 /* Ensure that typeinfo data is generated for char16_t/char32_t. */
3 /* { dg-do link } */
4 /* { dg-options "-std=c++0x" } */
6 #include <typeinfo>
8 int main(void)
10     typeid(char16_t).name();
11     typeid(char32_t).name();