gcc/testsuite/g++.old-deja/g++.jason/mangle1.C
raw| 1 | // { dg-do assemble } |
| 2 | // Bug: numeric_outputed_need_bar is not cleared properly, adding random '_'s |
| 3 | // to mangled names. |
| 4 | |
| 5 | |
| 6 | template <int seed_length> |
| 7 | class rand1 |
| 8 | { |
| 9 | public: |
| 10 | rand1 (); |
| 11 | }; |
| 12 | |
| 13 | class codes |
| 14 | { |
| 15 | public: |
| 16 | rand1<32> * randgen; |
| 17 | codes (int ptr); |
| 18 | |
| 19 | }; |
| 20 | |
| 21 | codes::codes (int ptr) |
| 22 | { |
| 23 | } |