Daily bump.
[gcc.git] / gcc / testsuite / g++.dg / diagnostic / inconsistent-deduction-1.C
blob2b4e77a17ff860b9ab7cc88089c0375dc81f0157
1 // { dg-do compile { target c++14 } }
3 void foo();
5 auto bar(bool b)
7   if (b)
8     return 0;
9   return foo(); // { dg-error "13:inconsistent deduction for auto return type: .int. and then .void." }