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

#include <typeinfo>

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