Home
last modified time | relevance | path

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

/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
Dp6.cpp22 virtual int ImplicitlyVirtual() const;
27 constexpr int ImplicitlyVirtual() const { return 0; } in ImplicitlyVirtual() function
30 constexpr int a = ImplicitVirtualFromDependentBase<S>().ImplicitlyVirtual(); // expected-error {{co…
31 constexpr int b = ImplicitVirtualFromDependentBase<T>().ImplicitlyVirtual(); // ok
32 …c = ImplicitVirtualFromDependentBase<S>().ImplicitVirtualFromDependentBase<S>::ImplicitlyVirtual();
Dp3.cpp22 virtual int ImplicitlyVirtual() const = 0; // expected-note {{overridden virtual function}}
25 int ImplicitlyVirtual() const;
37 …constexpr int ImplicitlyVirtual() const { return 0; } // expected-error {{virtual function cannot … in ImplicitlyVirtual() function