Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/constexpr-compare2.C

raw
1 // PR c++/69681
2 // { dg-do compile { target c++11 } }
3 // { dg-additional-options "-fdelete-null-pointer-checks" }
4
5 void f();
6 void g();
7 static_assert(f != g, "");
8
9 #if __cpp_constexpr >= 201603L
10 static_assert([]{} != []{}, "");
11 #endif