blob: f6cfb0c67c160b63b3ea6e54e7e01d9f7b26e048 [file] [log] [blame]
// PR c++/34271
// { dg-do compile { target c++11 } }
template<int> struct A { // { dg-message "defined here" }
static int i; // { dg-message "candidate" }
};
template<int N> int A<N>::i(decltype (A::i)); // { dg-error "no declaration" }