Argyrios Kyrtzidis | 78f5911 | 2010-10-29 16:12:50 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
Andy Gibbs | 8e8fb3b | 2012-10-19 12:44:48 +0000 | [diff] [blame] | 2 | // expected-no-diagnostics |
Argyrios Kyrtzidis | 78f5911 | 2010-10-29 16:12:50 +0000 | [diff] [blame] | 3 | |
4 | namespace A { | ||||
5 | class String; | ||||
6 | }; | ||||
7 | |||||
8 | using A::String; | ||||
9 | class String; | ||||
10 | |||||
11 | // rdar://8603569 | ||||
12 | union value { | ||||
13 | char *String; | ||||
14 | }; |