summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/utf-rtti.C
blob: b5d201b4d7aa63a91d3def06e2b4cb115f3bc8a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* Contributed by Kris Van Hees <kris.van.hees@oracle.com> */
/* Ensure that typeinfo data is generated for char16_t/char32_t. */
/* { dg-do link } */
/* { dg-options "-std=c++0x" } */

#include <typeinfo>

int main(void)
{
    typeid(char16_t).name();
    typeid(char32_t).name();
}