/cp
[official-gcc.git] / gcc / testsuite / g++.dg / cpp1y / constexpr-return1.C
blobb114e21488819ea345ef48db026a0122cee346fd
1 // { dg-do compile { target c++14 } }
3 constexpr int f (int i)
5   return 24;
6   return 36;
9 constexpr int i = f(42);
10 #define SA(X) static_assert((X),#X)
11 SA(i==24);