mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +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
|