gcc/testsuite/g++.old-deja/g++.law/static-mem5.C
raw| 1 | // { dg-do assemble } |
| 2 | // { dg-options "-w -fpermissive" } |
| 3 | // GROUPS passed static-mem |
| 4 | // static-mem file |
| 5 | // From: [email protected] (Walt Bunch) |
| 6 | // Date: Thu, 23 Jun 94 14:58:35 UNI |
| 7 | // Subject: bug report |
| 8 | // Message-ID: <[email protected]> |
| 9 | |
| 10 | |
| 11 | class A |
| 12 | { |
| 13 | public: |
| 14 | static void F (int i) {} |
| 15 | static void A::G (int i) {} |
| 16 | }; |
| 17 | |
| 18 | main () |
| 19 | { |
| 20 | A::F (17); |
| 21 | A::G (42); |
| 22 | } |
| 23 |