Debian Codegraph @

clang/test/SemaCXX/builtin-overload-resolution.cpp

raw
1 // RUN: %clang_cc1 -std=c++20 %s -emit-obj -o /dev/null
2
3 const int* test_odr_used() {
4 // This previously crashed due to Value improperly being removed from
5 // MaybeODRUseExprs.
6 static constexpr int Value = 0;
7 return __builtin_addressof(Value);
8 }