Sign in
llvm
/
llvm-project
/
refs/heads/users/mysterymath/modular-printf/ir
/
.
/
clang
/
test
/
SemaCXX
/
builtin-overload-resolution.cpp
blob: 81d3055a2f7b2128031b5b1f5a4a2f2506883b70 [
file
] [
log
] [
blame
] [
edit
]
// RUN: %clang_cc1 -std=c++20 %s -emit-obj -o /dev/null
const
int
*
test_odr_used
()
{
// This previously crashed due to Value improperly being removed from
// MaybeODRUseExprs.
static
constexpr
int
Value
=
0
;
return
__builtin_addressof
(
Value
);
}