* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-79822.C
blob6a72702aad82259291a6161cff76f25c21e884a4
1 // PR c++/79822
2 // { dg-do compile }
3 // { dg-options "" }
5 bool
6 foo ()
8   bool a = ({ }) && false;              // { dg-error "could not convert" }
9   bool b = ({ ; }) && false;            // { dg-error "could not convert" }
10   bool c = ({ (void) 1; }) && false;    // { dg-error "could not convert" }
11   return a && b && c;