Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
nullptr13.C
blob: e788c16b12067cd23d970e6b0690429daa399c7a [
file
] [
log
] [
blame
]
// { dg-do run { target c++11 } }
// Test typeid
#include
<typeinfo>
int
main
()
{
const
decltype
(
nullptr
)
mynull
=
0
;
if
(
typeid
(
nullptr
)
!=
typeid
(
mynull
))
__builtin_abort
();
}