PR tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git] / gcc / testsuite / g++.dg / pr85027.C
blob01b1b291aecd95765e2229875694600499de6118
1 // { dg-do compile }
3 // Avoid -pedantic-error default
4 // { dg-options "" }
6 struct A { static int a; };
8 int t = A::A ? : 0; // { dg-error "cannot resolve" }