summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/other/pr27495.C
blob: 990b1ee5eceb56e5f327bdf91d8a17546641a2d1 (plain)
1
2
3
4
5
6
7
8
// Test to make sure we do not ICE on this invalid program.

struct A
{
    template<int> void foo();
    void bar() { this.A::foo<0>(); }	// { dg-error "" }
};