Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/nullptr13.C

raw
1 // { dg-do run { target c++11 } }
2
3 // Test typeid
4
5 #include <typeinfo>
6
7 int main()
8 {
9 const decltype(nullptr) mynull = 0;
10 if (typeid(nullptr) != typeid(mynull))
11 __builtin_abort();
12 }