blob: 2b07d4fec9e8fbd5692f154cc309723beec6ecd3 [file] [log] [blame]
// PR c++/70204
// { dg-do compile { target c++11 } }
int a;
void fn1 ()
{
const int x = 0 * a;
constexpr int y = x; // { dg-error "constant" }
}