| Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame^] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
| Anders Carlsson | 8b50d01 | 2009-06-26 03:37:05 +0000 | [diff] [blame] | 2 | |
| 3 | namespace A { | ||||
| 4 | void g(); | ||||
| 5 | } | ||||
| 6 | |||||
| 7 | namespace X { | ||||
| 8 | using A::g; | ||||
| 9 | } | ||||
| 10 | |||||
| 11 | void h() | ||||
| 12 | { | ||||
| 13 | A::g(); | ||||
| 14 | X::g(); | ||||
| 15 | } | ||||