Accomodate front-ends which use private instead of internal here.
authorBill Wendling <isanbard@gmail.com>
Fri, 3 Jun 2011 19:21:05 +0000 (19:21 +0000)
committerBill Wendling <isanbard@gmail.com>
Fri, 3 Jun 2011 19:21:05 +0000 (19:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132575 91177308-0d34-0410-b5e6-96231b3b80d8

test/FrontendC++/unnamed-addr.cpp

index 2f7598ff27638ba0d3d269a6f1030c5e21ade5ea..f8e936ee40f262551c22063f1236d6ae59aad87f 100644 (file)
@@ -83,7 +83,7 @@ int TestCaller_countTestCases(TestCaller* self) {
   return self->numberOfFixtuers;
 }
 
-// CHECK: @_ZZ14TestCaller_runP12__TestCallerP12__TestResultE3C.0 = internal unnamed_addr constant
+// CHECK: @_ZZ14TestCaller_runP12__TestCallerP12__TestResultE3C.0 = {{internal|private}} unnamed_addr constant
 // CHECK-NOT: @TestCaseImplement = external unnamed_addr constant %struct.TestImplement
 // CHECK: @TestCaseImplement = external constant %struct.TestImplement
 const TestImplement TestCallerImplement = {