1 // { dg-options -std=c++98 }
3 // Origin: jbrandmeyer at users dot sourceforge dot net
4 // PR c++/12573: COMPONENT_REFs must be inspected for dependness.
6 template <bool> struct S;
8 template <typename K> struct Y : K {
12 template <class T> struct Z {
13 S< (bool)(&static_cast<Y<T> *>(0)->x == 0) > // { dg-error "" }