1f4a2713aSLionel Sambuc // RUN: %clang_cc1 -emit-llvm -g -triple x86_64-apple-darwin %s -o - | FileCheck %s 2f4a2713aSLionel Sambuc 3f4a2713aSLionel Sambuc namespace A { a(int b)4f4a2713aSLionel Sambuc static int a(int b) { return b + 4; } 5f4a2713aSLionel Sambuc b(int c)6f4a2713aSLionel Sambuc int b(int c) { return c + a(c); } 7f4a2713aSLionel Sambuc } 8f4a2713aSLionel Sambuc 9f4a2713aSLionel Sambuc // Verify that a is present and mangled. 10*0a6a1f1dSLionel Sambuc // CHECK: !"0x2e\00a\00a\00_ZN1AL1aEi\00{{.*}}", {{.*}}, i32 (i32)* @_ZN1AL1aEi, {{.*}} ; [ DW_TAG_subprogram ] [line 4] [local] [def] [a] 11