Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-compare2.C
blob: 5c08dbbd54fc3706f7d982191579a60f6011b708 [
file
] [
log
] [
blame
]
// PR c++/69681
// { dg-do compile { target c++11 } }
// { dg-additional-options "-fdelete-null-pointer-checks" }
void
f
();
void
g
();
static_assert
(
f
!=
g
,
""
);
#if __cpp_constexpr >= 201603L
static_assert
([]{}
!=
[]{},
""
);
#endif