blob: 45292cd954f6e83f520a1df5f918f711390c25f1 [file] [log] [blame]
// PR c++/15640
struct A {
void foo(void);
};
template <int> void bar() {
A a;
a + a.foo; // { dg-error "" }
}