From eb4fd01f7a48b0e0d481e1bb724daed64a4f405f Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 24 Feb 2011 20:31:44 +0000 Subject: Use private linkage to avoid symbol conflicts in corner cases like the one in PR9301. llvm-svn: 126422 --- clang/test/CodeGen/decl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/test/CodeGen/decl.c') diff --git a/clang/test/CodeGen/decl.c b/clang/test/CodeGen/decl.c index 7a9971ee181..5be42162361 100644 --- a/clang/test/CodeGen/decl.c +++ b/clang/test/CodeGen/decl.c @@ -1,6 +1,6 @@ // RUN: %clang_cc1 -w -emit-llvm < %s | FileCheck %s -// CHECK: @test1.x = internal constant [12 x i32] [i32 1 +// CHECK: @test1.x = private constant [12 x i32] [i32 1 // CHECK: @test2.x = internal constant [13 x i32] [i32 1, // CHECK: @test5w = global %0 { i32 2, [4 x i8] undef } // CHECK: @test5y = global %union.test5u { double 7.300000e+0{{[0]*}}1 } -- cgit v1.2.3