1 // PR c++/70204
2 // { dg-do compile { target c++11 } }
3 
4 int a;
5 
fn1()6 void fn1 ()
7 {
8   const int x = 0 * a;
9   constexpr int y = x; // { dg-error "constant" }
10 }
11