Douglas Gregor | ed8d322 | 2009-09-18 20:05:18 +0000 | [diff] [blame] | 1 | class T { }; |
2 | |||||
3 | typedef int Integer; | ||||
4 | |||||
5 | namespace N { } | ||||
6 | |||||
7 | void f() { | ||||
8 | typedef float Float; | ||||
9 | |||||
Douglas Gregor | b657f11 | 2009-09-22 21:11:38 +0000 | [diff] [blame] | 10 | operator |
Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 11 | // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:10:11 %s -o - | FileCheck -check-prefix=CC1 %s |
Douglas Gregor | ab0b4f1 | 2010-01-13 23:24:38 +0000 | [diff] [blame] | 12 | // CHECK-CC1: + |
13 | // CHECK-CC1: Float | ||||
14 | // CHECK-CC1: Integer | ||||
15 | // CHECK-CC1: N | ||||
16 | // CHECK-CC1: short | ||||
17 | // CHECK-CC1: T |