Home
last modified time | relevance | path

Searched refs:DummyTemplate (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang/test/SemaCXX/
Dcxx2a-template-lambdas.cpp10 struct DummyTemplate { }; struct
26 … static_assert(is_same<T<U>, DummyTemplate<float>>); // // expected-error {{static_assert failed}} in func()
28 L2(DummyTemplate<float>()); in func()
29 L2(DummyTemplate<double>()); // expected-note {{in instantiation}} in func()
/external/llvm-project/clang/test/PCH/
Dcxx2a-template-lambdas.cpp40 struct DummyTemplate { }; struct
42 static_assert(l4(DummyTemplate<float>(), 12) == 12.0);
43 static_assert(l4(DummyTemplate<int>(), 19.8) == 19);