Douglas Gregor | c19ee3e | 2009-06-17 23:37:01 +0000 | [diff] [blame^] | 1 | // RUN: clang-cc -fsyntax-only -verify %s |
Douglas Gregor | 551f48c | 2009-03-27 04:21:56 +0000 | [diff] [blame] | 2 | |
3 | class A; | ||||
4 | |||||
5 | class S { | ||||
6 | public: | ||||
7 | template<typename T> struct A { | ||||
8 | struct Nested { | ||||
9 | typedef T type; | ||||
10 | }; | ||||
11 | }; | ||||
12 | }; | ||||
13 | |||||
14 | int i; | ||||
15 | S::A<int>::Nested::type *ip = &i; | ||||
16 |