diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/special/conpr-2.C')
-rw-r--r-- | gcc/testsuite/g++.dg/special/conpr-2.C | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/gcc/testsuite/g++.dg/special/conpr-2.C b/gcc/testsuite/g++.dg/special/conpr-2.C deleted file mode 100644 index 07ba8ab9e89..00000000000 --- a/gcc/testsuite/g++.dg/special/conpr-2.C +++ /dev/null @@ -1,20 +0,0 @@ -/* { dg-do run } */ - -class foo_t { - int x; - static int count; -public: - foo_t(void) { x=++count; } - int get(void) { return x; } -}; - -int foo_t::count; - -extern foo_t foo1, foo2; - -int main(void) { - - if ( (foo1.get() != 2) || (foo2.get() != 1) ) - abort(); - exit(0); -} |