☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nullptr13.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/nullptr13.C
code
plain
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
}