// RUN: %clang_cc1 -verify -frecovery-ast %s template int *p = &void(T::error); // expected-error{{cannot take the address of an rvalue}} expected-error{{type 'int' cannot be used prior to '::'}} int *q = p; // expected-note{{in instantiation of variable template specialization 'p' requested here}}