summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/static4.C
blob: 2b7b1faefff75141ba1fdb7aad59a7b0d93cfb81 (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do run  }
// { dg-options "-O" }
// Origin: Andrew Pollard <andrew@odie.demon.co.uk>

struct A {
        A(int, int);
};
A::A(int, int) {}
static A _A(0, 0);
int main() { return(0); }