forked from OSchip/llvm-project
parent
45810b4631
commit
ab534366fe
|
@ -25,7 +25,11 @@ using std::experimental::optional;
|
||||||
|
|
||||||
struct X
|
struct X
|
||||||
{
|
{
|
||||||
|
#if _LIBCPP_STD_VER > 14
|
||||||
|
constexpr int test() const {return 3;}
|
||||||
|
#else
|
||||||
constexpr int test() {return 3;}
|
constexpr int test() {return 3;}
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // _LIBCPP_STD_VER > 11
|
#endif // _LIBCPP_STD_VER > 11
|
||||||
|
|
Loading…
Reference in New Issue