Debian Codegraph @

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

raw
1 // PR c++/123790
2 // { dg-do compile { target c++11 } }
3
4 int
5 main ()
6 {
7 using nullptr_t = decltype (nullptr);
8 constexpr nullptr_t zero = nullptr;
9 constexpr nullptr_t other_zero = zero;
10 }