1*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -g -emit-llvm %s -o - | FileCheck %s 2f4a2713aSLionel Sambuc // Test to check intentionally empty linkage name for a static variable. 3f4a2713aSLionel Sambuc // Radar 7651244. foo(int a)4f4a2713aSLionel Sambucstatic int foo(int a) 5f4a2713aSLionel Sambuc { 6f4a2713aSLionel Sambuc static int b = 1; 7f4a2713aSLionel Sambuc return b+a; 8f4a2713aSLionel Sambuc } 9f4a2713aSLionel Sambuc main()10f4a2713aSLionel Sambucint main() { 11f4a2713aSLionel Sambuc int j = foo(1); 12f4a2713aSLionel Sambuc return 0; 13f4a2713aSLionel Sambuc } 14*0a6a1f1dSLionel Sambuc // CHECK: !"0x34\00b\00b\00\00{{.*}}", 15