blob: 72a3f6bb719435df73b190598cb320a1e1522ea8 [file] [log] [blame]
Douglas Gregored8d3222009-09-18 20:05:18 +00001class T { };
2
3typedef int Integer;
4
5namespace N { }
6
7void f() {
8 typedef float Float;
9
Douglas Gregorb657f112009-09-22 21:11:38 +000010 operator
11 // RUN: clang-cc -fsyntax-only -code-completion-at=%s:10:11 %s -o - | FileCheck -check-prefix=CC1 %s &&
Douglas Gregored8d3222009-09-18 20:05:18 +000012 // CHECK-CC1: Float : 0
13 // CHECK-CC1: + : 0
14 // CHECK-CC1: short : 0
15 // CHECK-CC1: Integer : 2
16 // CHECK-CC1: T : 2
17 // CHECK-CC1: N : 5
Douglas Gregorb657f112009-09-22 21:11:38 +000018 // RUN: true