gcc/testsuite/g++.old-deja/g++.ns/using3.C
raw| 1 | // { dg-do assemble } |
| 2 | |
| 3 | typedef unsigned int atypedef; |
| 4 | struct astruct{}; |
| 5 | void afunction(); |
| 6 | void aovlfunction(); |
| 7 | void aovlfunction(int); |
| 8 | int avariable; |
| 9 | |
| 10 | namespace foo { |
| 11 | using ::atypedef; |
| 12 | using ::astruct; |
| 13 | using ::afunction; |
| 14 | using ::aovlfunction; |
| 15 | using ::avariable; |
| 16 | } |