summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/defarg3.C
blob: 5c81c69e6793fc5278ec589b601a512e85011af2 (plain)
1
2
3
4
5
struct A {
    enum { value = 10 };
    A() { f(); }
    static int f(int i=value);
};