1// RUN: %clang_cc1 -analyze -analyzer-display-progress %s 2>&1 | FileCheck %s
2
3void f() {};
4void g() {};
5void h() {}
6
7struct SomeStruct {
8  void f() {}
9};
10
11struct SomeOtherStruct {
12  void f() {}
13};
14
15namespace ns {
16  struct SomeStruct {
17    void f() {}
18  };
19}
20
21// CHECK: analyze_display_progress.cpp f
22// CHECK: analyze_display_progress.cpp g
23// CHECK: analyze_display_progress.cpp h
24// CHECK: analyze_display_progress.cpp SomeStruct::f
25// CHECK: analyze_display_progress.cpp SomeOtherStruct::f
26// CHECK: analyze_display_progress.cpp ns::SomeStruct::f
27