Debian Codegraph @

gcc/testsuite/g++.dg/cpp1y/auto-fn4.C

raw
1 // { dg-do compile { target c++14 } }
2
3 template <class T>
4 constexpr auto f(T t) { return t+1; }
5
6 #define SA(X) static_assert((X),#X)
7 SA(f(1)==2);