libcpp/
[official-gcc.git] / gcc / testsuite / g++.dg / cpp1y / auto-fn1.C
blob0df09ab7ab174cd3a0e95149431c0c7a61f128b6
1 // { dg-do compile { target c++14 } }
3 constexpr auto f() { return (char)42; }
4 #define SA(X) static_assert ((X),#X)
5 SA (f() == 42);