mirror of
https://github.com/github/codeql.git
synced 2026-01-15 07:24:49 +01:00
11 lines
258 B
C++
11 lines
258 B
C++
// semmle-extractor-options: --clang --edg --c++20
|
|
|
|
namespace cpp20 {
|
|
|
|
class TestConstexpr {
|
|
constexpr int member_constexpr() { return 0; } // not const in C++ >= 14
|
|
constexpr int member_const_constexpr() const { return 0; }
|
|
};
|
|
|
|
} // namespace cpp20
|