Home
last modified time | relevance | path

Searched defs:TestCtor (Results 1 – 3 of 3) sorted by relevance

/llvm-project/libcxx/test/std/atomics/atomics.ref/
H A Dctor.pass.cpp22 struct TestCtor { struct
35 TestEachAtomicType<TestCtor>()(); in main() argument
/llvm-project/clang/test/SemaCXX/
H A Dattr-require-constant-initialization.cpp290 struct TestCtor { struct
291 constexpr TestCtor(int x) : value(x) {} in TestCtor() argument
295 ATTR TestCtor<NotC> t(42); // expected-error {{variable does not have a constant initializer}} argument
321 struct TestCtor { struct
322 constexpr TestCtor(int x) : value(x) {} // expected-note 2 {{non-constexpr constructor}} in TestCtor() function
335 constexpr TestCtor<NotC> inval_constexpr(42); // expected-error {{must be initialized by a constant… argument
H A Dsource_location.cpp446 struct TestCtor { struct
451 constexpr TestCtor(int, U u = U::current()) : ctor_info(u) {} in TestCtor() function
457 static_assert(is_equal(Default.info.function(), "test_func::TestCtor<>::TestCtor() [T = std::source_location]")); in ctor_tests() argument
562 struct TestCtor { struct
567 constexpr TestCtor(int, F f = __builtin_FUNCSIG()) : ctor_funcsig(f) {} TestCtor() function
571 TestCtortest_funcsig::TestCtor ctor_tests() argument
[all...]