r186502 - Replace TEST* with CHECK-DAG in vbtable tests

Timur Iskhodzhanov timurrrr at google.com
Wed Jul 17 05:23:51 PDT 2013


Author: timurrrr
Date: Wed Jul 17 07:23:51 2013
New Revision: 186502

URL: http://llvm.org/viewvc/llvm-project?rev=186502&view=rev
Log:
Replace TEST* with CHECK-DAG in vbtable tests

Modified:
    cfe/trunk/test/CodeGenCXX/microsoft-abi-vbtables.cpp

Modified: cfe/trunk/test/CodeGenCXX/microsoft-abi-vbtables.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/microsoft-abi-vbtables.cpp?rev=186502&r1=186501&r2=186502&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/microsoft-abi-vbtables.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/microsoft-abi-vbtables.cpp Wed Jul 17 07:23:51 2013
@@ -1,28 +1,4 @@
-// RUN: %clang_cc1 %s -fno-rtti -cxx-abi microsoft -triple=i386-pc-win32 -emit-llvm -o %t
-//
-// FIXME: These repeated FileCheck invocations are ugly, but I can't get the
-// output in source file order.  Can CHECK-DAG help here?
-// RUN: FileCheck --check-prefix=TEST1  %s < %t
-// RUN: FileCheck --check-prefix=TEST2  %s < %t
-// RUN: FileCheck --check-prefix=TEST3  %s < %t
-// RUN: FileCheck --check-prefix=TEST4  %s < %t
-// RUN: FileCheck --check-prefix=TEST5  %s < %t
-// RUN: FileCheck --check-prefix=TEST6  %s < %t
-// RUN: FileCheck --check-prefix=TEST7  %s < %t
-// RUN: FileCheck --check-prefix=TEST8  %s < %t
-// RUN: FileCheck --check-prefix=TEST9  %s < %t
-// RUN: FileCheck --check-prefix=TEST10 %s < %t
-// RUN: FileCheck --check-prefix=TEST11 %s < %t
-// RUN: FileCheck --check-prefix=TEST12 %s < %t
-// RUN: FileCheck --check-prefix=TEST13 %s < %t
-// RUN: FileCheck --check-prefix=TEST14 %s < %t
-// RUN: FileCheck --check-prefix=TEST15 %s < %t
-// RUN: FileCheck --check-prefix=TEST16 %s < %t
-// RUN: FileCheck --check-prefix=TEST17 %s < %t
-// RUN: FileCheck --check-prefix=TEST18 %s < %t
-// RUN: FileCheck --check-prefix=TEST19 %s < %t
-// RUN: FileCheck --check-prefix=TEST20 %s < %t
-// RUN: FileCheck --check-prefix=TEST21 %s < %t
+// RUN: %clang_cc1 %s -fno-rtti -cxx-abi microsoft -triple=i386-pc-win32 -emit-llvm -o - | FileCheck %s
 
 // See microsoft-abi-structors.cpp for constructor codegen tests.
 
@@ -43,11 +19,11 @@ D d; // Force vbtable emission.
 // C: vbptr C
 //    int c
 
-// TEST1: @"\01??_8D at Test1@@7B01@@" = linkonce_odr unnamed_addr constant [4 x i32] [i32 0, i32 8, i32 12, i32 20]
-// TEST1: @"\01??_8D at Test1@@7BB at 1@@" = {{.*}} [2 x i32] [i32 0, i32 -4]
-// TEST1: @"\01??_8D at Test1@@7BC at 1@@" = {{.*}} [2 x i32] [i32 0, i32 -12]
-// TEST1: @"\01??_8C at Test1@@7B@" = {{.*}} [2 x i32] [i32 0, i32 8]
-// TEST1: @"\01??_8B at Test1@@7B@" = {{.*}} [2 x i32] [i32 0, i32 8]
+// CHECK-DAG: @"\01??_8D at Test1@@7B01@@" = linkonce_odr unnamed_addr constant [4 x i32] [i32 0, i32 8, i32 12, i32 20]
+// CHECK-DAG: @"\01??_8D at Test1@@7BB at 1@@" = {{.*}} [2 x i32] [i32 0, i32 -4]
+// CHECK-DAG: @"\01??_8D at Test1@@7BC at 1@@" = {{.*}} [2 x i32] [i32 0, i32 -12]
+// CHECK-DAG: @"\01??_8C at Test1@@7B@" = {{.*}} [2 x i32] [i32 0, i32 8]
+// CHECK-DAG: @"\01??_8B at Test1@@7B@" = {{.*}} [2 x i32] [i32 0, i32 8]
 }
 
 namespace Test2 {
@@ -66,10 +42,10 @@ D d; // Force vbtable emission.
 // D: int d
 // A: int a
 
-// TEST2: @"\01??_8D at Test2@@7BB at 1@@" = {{.*}} [2 x i32] [i32 0, i32 20]
-// TEST2: @"\01??_8D at Test2@@7BC at 1@@" = {{.*}} [2 x i32] [i32 0, i32 12]
-// TEST2: @"\01??_8C at Test2@@7B@" = {{.*}} [2 x i32] [i32 0, i32 8]
-// TEST2: @"\01??_8B at Test2@@7B@" = {{.*}} [2 x i32] [i32 0, i32 8]
+// CHECK-DAG: @"\01??_8D at Test2@@7BB at 1@@" = {{.*}} [2 x i32] [i32 0, i32 20]
+// CHECK-DAG: @"\01??_8D at Test2@@7BC at 1@@" = {{.*}} [2 x i32] [i32 0, i32 12]
+// CHECK-DAG: @"\01??_8C at Test2@@7B@" = {{.*}} [2 x i32] [i32 0, i32 8]
+// CHECK-DAG: @"\01??_8B at Test2@@7B@" = {{.*}} [2 x i32] [i32 0, i32 8]
 }
 
 namespace Test3 {
@@ -78,7 +54,7 @@ struct B { int b; };
 struct C : virtual A, virtual B { int c; };
 C c;
 
-// TEST3: @"\01??_8C at Test3@@7B@" = {{.*}} [3 x i32] [i32 0, i32 8, i32 12]
+// CHECK-DAG: @"\01??_8C at Test3@@7B@" = {{.*}} [3 x i32] [i32 0, i32 8, i32 12]
 }
 
 namespace Test4 {
@@ -88,8 +64,8 @@ struct B : virtual A { int b; };
 struct C : B, virtual A { int c; };
 C c; // Force vbtable emission.
 
-// TEST4: @"\01??_8C at Test4@@7B@" = {{.*}} [2 x i32] [i32 0, i32 12]
-// TEST4: @"\01??_8B at Test4@@7B@" = {{.*}} [2 x i32] [i32 0, i32 8]
+// CHECK-DAG: @"\01??_8C at Test4@@7B@" = {{.*}} [2 x i32] [i32 0, i32 12]
+// CHECK-DAG: @"\01??_8B at Test4@@7B@" = {{.*}} [2 x i32] [i32 0, i32 8]
 }
 
 namespace Test5 {
@@ -101,10 +77,10 @@ struct C : B { int c; };
 struct D : B, C { int d; };
 D d; // Force vbtable emission.
 
-// TEST5: @"\01??_8D at Test5@@7BB at 1@@"
-// TEST5: @"\01??_8D at Test5@@7BC at 1@@"
-// TEST5: @"\01??_8C at Test5@@7B@"
-// TEST5: @"\01??_8B at Test5@@7B@"
+// CHECK-DAG: @"\01??_8D at Test5@@7BB at 1@@"
+// CHECK-DAG: @"\01??_8D at Test5@@7BC at 1@@"
+// CHECK-DAG: @"\01??_8C at Test5@@7B@"
+// CHECK-DAG: @"\01??_8B at Test5@@7B@"
 }
 
 namespace Test6 {
@@ -118,22 +94,22 @@ struct F : E, B, C { int f; };
 struct G : F, virtual E { int g; };
 G g;
 
-// TEST6: @"\01??_8G at Test6@@7BB at 1@E at 1@F at 1@@" =
-// TEST6: @"\01??_8G at Test6@@7BC at 1@E at 1@F at 1@@" =
-// TEST6: @"\01??_8G at Test6@@7BB at 1@F at 1@@" =
-// TEST6: @"\01??_8G at Test6@@7BC at 1@F at 1@@" =
-// TEST6: @"\01??_8G at Test6@@7BB at 1@E at 1@@" =
-// TEST6: @"\01??_8G at Test6@@7BC at 1@E at 1@@" =
-// TEST6: @"\01??_8F at Test6@@7BB at 1@E at 1@@" = {{.*}} [2 x i32] [i32 0, i32 52]
-// TEST6: @"\01??_8F at Test6@@7BC at 1@E at 1@@" = {{.*}} [2 x i32] [i32 0, i32 44]
-// TEST6: @"\01??_8F at Test6@@7BB at 1@@" = {{.*}} [2 x i32] [i32 0, i32 24]
-// TEST6: @"\01??_8F at Test6@@7BC at 1@@" = {{.*}} [2 x i32] [i32 0, i32 16]
-// TEST6: @"\01??_8C at Test6@@7B@" = {{.*}} [2 x i32] [i32 0, i32 12]
-// TEST6: @"\01??_8B at Test6@@7B@" = {{.*}} [2 x i32] [i32 0, i32 8]
-// TEST6: @"\01??_8E at Test6@@7BB at 1@@" = {{.*}} [2 x i32] [i32 0, i32 28]
-// TEST6: @"\01??_8E at Test6@@7BC at 1@@" = {{.*}} [2 x i32] [i32 0, i32 20]
-// TEST6: @"\01??_8D at Test6@@7BB at 1@@" = {{.*}} [2 x i32] [i32 0, i32 24]
-// TEST6: @"\01??_8D at Test6@@7BC at 1@@" = {{.*}} [2 x i32] [i32 0, i32 16]
+// CHECK-DAG: @"\01??_8G at Test6@@7BB at 1@E at 1@F at 1@@" =
+// CHECK-DAG: @"\01??_8G at Test6@@7BC at 1@E at 1@F at 1@@" =
+// CHECK-DAG: @"\01??_8G at Test6@@7BB at 1@F at 1@@" =
+// CHECK-DAG: @"\01??_8G at Test6@@7BC at 1@F at 1@@" =
+// CHECK-DAG: @"\01??_8G at Test6@@7BB at 1@E at 1@@" =
+// CHECK-DAG: @"\01??_8G at Test6@@7BC at 1@E at 1@@" =
+// CHECK-DAG: @"\01??_8F at Test6@@7BB at 1@E at 1@@" = {{.*}} [2 x i32] [i32 0, i32 52]
+// CHECK-DAG: @"\01??_8F at Test6@@7BC at 1@E at 1@@" = {{.*}} [2 x i32] [i32 0, i32 44]
+// CHECK-DAG: @"\01??_8F at Test6@@7BB at 1@@" = {{.*}} [2 x i32] [i32 0, i32 24]
+// CHECK-DAG: @"\01??_8F at Test6@@7BC at 1@@" = {{.*}} [2 x i32] [i32 0, i32 16]
+// CHECK-DAG: @"\01??_8C at Test6@@7B@" = {{.*}} [2 x i32] [i32 0, i32 12]
+// CHECK-DAG: @"\01??_8B at Test6@@7B@" = {{.*}} [2 x i32] [i32 0, i32 8]
+// CHECK-DAG: @"\01??_8E at Test6@@7BB at 1@@" = {{.*}} [2 x i32] [i32 0, i32 28]
+// CHECK-DAG: @"\01??_8E at Test6@@7BC at 1@@" = {{.*}} [2 x i32] [i32 0, i32 20]
+// CHECK-DAG: @"\01??_8D at Test6@@7BB at 1@@" = {{.*}} [2 x i32] [i32 0, i32 24]
+// CHECK-DAG: @"\01??_8D at Test6@@7BC at 1@@" = {{.*}} [2 x i32] [i32 0, i32 16]
 }
 
 namespace Test7 {
@@ -145,8 +121,8 @@ struct D : virtual A { int d; };
 struct E : B, D, virtual A, virtual C { int e; };
 E o;
 
-// TEST7: @"\01??_8E at Test7@@7B@" = {{.*}} [3 x i32] [i32 0, i32 12, i32 16]
-// TEST7: @"\01??_8D at Test7@@7B@" = {{.*}} [2 x i32] [i32 0, i32 8]
+// CHECK-DAG: @"\01??_8E at Test7@@7B@" = {{.*}} [3 x i32] [i32 0, i32 12, i32 16]
+// CHECK-DAG: @"\01??_8D at Test7@@7B@" = {{.*}} [2 x i32] [i32 0, i32 8]
 }
 
 namespace Test8 {
@@ -157,10 +133,10 @@ struct C : B { int c; };
 struct D : virtual C { int d; };
 D o;
 
-// TEST8: @"\01??_8D at Test8@@7B01@@" = {{.*}} [3 x i32] [i32 0, i32 8, i32 12]
-// TEST8: @"\01??_8D at Test8@@7BC at 1@@" = {{.*}} [2 x i32] [i32 0, i32 -4]
-// TEST8: @"\01??_8C at Test8@@7B@" = {{.*}} [2 x i32] [i32 0, i32 12]
-// TEST8: @"\01??_8B at Test8@@7B@" = {{.*}} [2 x i32] [i32 0, i32 8]
+// CHECK-DAG: @"\01??_8D at Test8@@7B01@@" = {{.*}} [3 x i32] [i32 0, i32 8, i32 12]
+// CHECK-DAG: @"\01??_8D at Test8@@7BC at 1@@" = {{.*}} [2 x i32] [i32 0, i32 -4]
+// CHECK-DAG: @"\01??_8C at Test8@@7B@" = {{.*}} [2 x i32] [i32 0, i32 12]
+// CHECK-DAG: @"\01??_8B at Test8@@7B@" = {{.*}} [2 x i32] [i32 0, i32 8]
 }
 
 namespace Test9 {
@@ -174,17 +150,17 @@ struct D : BB, C { int d; };
 struct E : virtual D { };
 E e;
 
-// TEST9: @"\01??_8E at Test9@@7B01@@" =
-// TEST9: @"\01??_8E at Test9@@7BD at 1@@" =
-// TEST9: @"\01??_8E at Test9@@7BC at 1@@" =
-// TEST9: @"\01??_8E at Test9@@7BB at 1@@" =
-// TEST9: @"\01??_8D at Test9@@7B@" =
-// TEST9: @"\01??_8D at Test9@@7BC at 1@@" =
-// TEST9: @"\01??_8D at Test9@@7BB at 1@@" =
-// TEST9: @"\01??_8C at Test9@@7B01@@" =
-// TEST9: @"\01??_8C at Test9@@7BB at 1@@" =
-// TEST9: @"\01??_8BB at Test9@@7B@" =
-// TEST9: @"\01??_8B at Test9@@7B@" =
+// CHECK-DAG: @"\01??_8E at Test9@@7B01@@" =
+// CHECK-DAG: @"\01??_8E at Test9@@7BD at 1@@" =
+// CHECK-DAG: @"\01??_8E at Test9@@7BC at 1@@" =
+// CHECK-DAG: @"\01??_8E at Test9@@7BB at 1@@" =
+// CHECK-DAG: @"\01??_8D at Test9@@7B@" =
+// CHECK-DAG: @"\01??_8D at Test9@@7BC at 1@@" =
+// CHECK-DAG: @"\01??_8D at Test9@@7BB at 1@@" =
+// CHECK-DAG: @"\01??_8C at Test9@@7B01@@" =
+// CHECK-DAG: @"\01??_8C at Test9@@7BB at 1@@" =
+// CHECK-DAG: @"\01??_8BB at Test9@@7B@" =
+// CHECK-DAG: @"\01??_8B at Test9@@7B@" =
 }
 
 namespace Test10 {
@@ -194,8 +170,8 @@ struct C : virtual A { int c; };
 struct D : B, C { int d; };
 D d;
 
-// TEST10: @"\01??_8D at Test10@@7B@" =
-// TEST10: @"\01??_8C at Test10@@7B@" =
+// CHECK-DAG: @"\01??_8D at Test10@@7B@" =
+// CHECK-DAG: @"\01??_8C at Test10@@7B@" =
 
 }
 
@@ -209,12 +185,12 @@ struct E : C { int e; };
 struct F : D, E { int f; };
 F f;
 
-// TEST11: @"\01??_8F at Test11@@7BD at 1@@" = linkonce_odr unnamed_addr constant [2 x i32] [i32 0, i32 28]
-// TEST11: @"\01??_8F at Test11@@7BE at 1@@" = linkonce_odr unnamed_addr constant [2 x i32] [i32 0, i32 16]
-// TEST11: @"\01??_8E at Test11@@7B@" = linkonce_odr unnamed_addr constant [2 x i32] [i32 0, i32 12]
-// TEST11: @"\01??_8C at Test11@@7B@" = linkonce_odr unnamed_addr constant [2 x i32] [i32 0, i32 8]
-// TEST11: @"\01??_8D at Test11@@7B@" = linkonce_odr unnamed_addr constant [2 x i32] [i32 0, i32 12]
-// TEST11: @"\01??_8B at Test11@@7B@" = linkonce_odr unnamed_addr constant [2 x i32] [i32 0, i32 8]
+// CHECK-DAG: @"\01??_8F at Test11@@7BD at 1@@" = linkonce_odr unnamed_addr constant [2 x i32] [i32 0, i32 28]
+// CHECK-DAG: @"\01??_8F at Test11@@7BE at 1@@" = linkonce_odr unnamed_addr constant [2 x i32] [i32 0, i32 16]
+// CHECK-DAG: @"\01??_8E at Test11@@7B@" = linkonce_odr unnamed_addr constant [2 x i32] [i32 0, i32 12]
+// CHECK-DAG: @"\01??_8C at Test11@@7B@" = linkonce_odr unnamed_addr constant [2 x i32] [i32 0, i32 8]
+// CHECK-DAG: @"\01??_8D at Test11@@7B@" = linkonce_odr unnamed_addr constant [2 x i32] [i32 0, i32 12]
+// CHECK-DAG: @"\01??_8B at Test11@@7B@" = linkonce_odr unnamed_addr constant [2 x i32] [i32 0, i32 8]
 
 }
 
@@ -227,17 +203,17 @@ struct D : C, B { int d; };
 struct E : D, C, B { int e; };
 E e;
 
-// TEST12: @"\01??_8E at Test12@@7BC at 1@D at 1@@" =
-// TEST12: @"\01??_8E at Test12@@7BB at 1@D at 1@@" =
-// TEST12: @"\01??_8E at Test12@@7BD at 1@@" =
-// TEST12: @"\01??_8E at Test12@@7BC at 1@@" =
-// TEST12: @"\01??_8E at Test12@@7BB at 1@@" =
-// TEST12: @"\01??_8C at Test12@@7B01@@" =
-// TEST12: @"\01??_8C at Test12@@7BB at 1@@" =
-// TEST12: @"\01??_8D at Test12@@7BC at 1@@" =
-// TEST12: @"\01??_8D at Test12@@7BB at 1@@" =
-// TEST12: @"\01??_8D at Test12@@7B@" =
-// TEST12: @"\01??_8B at Test12@@7B@" =
+// CHECK-DAG: @"\01??_8E at Test12@@7BC at 1@D at 1@@" =
+// CHECK-DAG: @"\01??_8E at Test12@@7BB at 1@D at 1@@" =
+// CHECK-DAG: @"\01??_8E at Test12@@7BD at 1@@" =
+// CHECK-DAG: @"\01??_8E at Test12@@7BC at 1@@" =
+// CHECK-DAG: @"\01??_8E at Test12@@7BB at 1@@" =
+// CHECK-DAG: @"\01??_8C at Test12@@7B01@@" =
+// CHECK-DAG: @"\01??_8C at Test12@@7BB at 1@@" =
+// CHECK-DAG: @"\01??_8D at Test12@@7BC at 1@@" =
+// CHECK-DAG: @"\01??_8D at Test12@@7BB at 1@@" =
+// CHECK-DAG: @"\01??_8D at Test12@@7B@" =
+// CHECK-DAG: @"\01??_8B at Test12@@7B@" =
 }
 
 namespace Test13 {
@@ -248,17 +224,17 @@ struct D : virtual C { int d; };
 struct E : D, C, B { int e; };
 E e;
 
-// TEST13: @"\01??_8E at Test13@@7BD at 1@@" =
-// TEST13: @"\01??_8E at Test13@@7BC at 1@D at 1@@" =
-// TEST13: @"\01??_8E at Test13@@7BB at 1@D at 1@@" =
-// TEST13: @"\01??_8E at Test13@@7BC at 1@@" =
-// TEST13: @"\01??_8E at Test13@@7BB at 1@@" =
-// TEST13: @"\01??_8D at Test13@@7B@" =
-// TEST13: @"\01??_8D at Test13@@7BC at 1@@" =
-// TEST13: @"\01??_8D at Test13@@7BB at 1@@" =
-// TEST13: @"\01??_8C at Test13@@7B01@@" =
-// TEST13: @"\01??_8C at Test13@@7BB at 1@@" =
-// TEST13: @"\01??_8B at Test13@@7B@" =
+// CHECK-DAG: @"\01??_8E at Test13@@7BD at 1@@" =
+// CHECK-DAG: @"\01??_8E at Test13@@7BC at 1@D at 1@@" =
+// CHECK-DAG: @"\01??_8E at Test13@@7BB at 1@D at 1@@" =
+// CHECK-DAG: @"\01??_8E at Test13@@7BC at 1@@" =
+// CHECK-DAG: @"\01??_8E at Test13@@7BB at 1@@" =
+// CHECK-DAG: @"\01??_8D at Test13@@7B@" =
+// CHECK-DAG: @"\01??_8D at Test13@@7BC at 1@@" =
+// CHECK-DAG: @"\01??_8D at Test13@@7BB at 1@@" =
+// CHECK-DAG: @"\01??_8C at Test13@@7B01@@" =
+// CHECK-DAG: @"\01??_8C at Test13@@7BB at 1@@" =
+// CHECK-DAG: @"\01??_8B at Test13@@7B@" =
 }
 
 namespace Test14 {
@@ -269,15 +245,15 @@ struct D : virtual C { int d; };
 struct E : D, virtual C, virtual B { int e; };
 E e;
 
-// TEST14: @"\01??_8E at Test14@@7B@" =
-// TEST14: @"\01??_8E at Test14@@7BC at 1@@" =
-// TEST14: @"\01??_8E at Test14@@7BB at 1@@" =
-// TEST14: @"\01??_8D at Test14@@7B@" =
-// TEST14: @"\01??_8D at Test14@@7BC at 1@@" =
-// TEST14: @"\01??_8D at Test14@@7BB at 1@@" =
-// TEST14: @"\01??_8C at Test14@@7B01@@" =
-// TEST14: @"\01??_8C at Test14@@7BB at 1@@" =
-// TEST14: @"\01??_8B at Test14@@7B@" =
+// CHECK-DAG: @"\01??_8E at Test14@@7B@" =
+// CHECK-DAG: @"\01??_8E at Test14@@7BC at 1@@" =
+// CHECK-DAG: @"\01??_8E at Test14@@7BB at 1@@" =
+// CHECK-DAG: @"\01??_8D at Test14@@7B@" =
+// CHECK-DAG: @"\01??_8D at Test14@@7BC at 1@@" =
+// CHECK-DAG: @"\01??_8D at Test14@@7BB at 1@@" =
+// CHECK-DAG: @"\01??_8C at Test14@@7B01@@" =
+// CHECK-DAG: @"\01??_8C at Test14@@7BB at 1@@" =
+// CHECK-DAG: @"\01??_8B at Test14@@7B@" =
 }
 
 namespace Test15 {
@@ -288,14 +264,14 @@ struct D : virtual B { int d; };
 struct E : D, C, B { int e; };
 E e;
 
-// TEST15: @"\01??_8E at Test15@@7BD at 1@@" =
-// TEST15: @"\01??_8E at Test15@@7BB at 1@D at 1@@" =
-// TEST15: @"\01??_8E at Test15@@7BC at 1@@" =
-// TEST15: @"\01??_8E at Test15@@7BB at 1@@" =
-// TEST15: @"\01??_8C at Test15@@7B@" =
-// TEST15: @"\01??_8D at Test15@@7B01@@" =
-// TEST15: @"\01??_8D at Test15@@7BB at 1@@" =
-// TEST15: @"\01??_8B at Test15@@7B@" =
+// CHECK-DAG: @"\01??_8E at Test15@@7BD at 1@@" =
+// CHECK-DAG: @"\01??_8E at Test15@@7BB at 1@D at 1@@" =
+// CHECK-DAG: @"\01??_8E at Test15@@7BC at 1@@" =
+// CHECK-DAG: @"\01??_8E at Test15@@7BB at 1@@" =
+// CHECK-DAG: @"\01??_8C at Test15@@7B@" =
+// CHECK-DAG: @"\01??_8D at Test15@@7B01@@" =
+// CHECK-DAG: @"\01??_8D at Test15@@7BB at 1@@" =
+// CHECK-DAG: @"\01??_8B at Test15@@7B@" =
 }
 
 namespace Test16 {
@@ -307,23 +283,23 @@ struct E : virtual D { int e; }; // ambi
 struct F : E, D, C, B { int f; };  // ambig
 F f;
 
-// TEST16: @"\01??_8F at Test16@@7BE at 1@@" =
-// TEST16: @"\01??_8F at Test16@@7BD at 1@E at 1@@" =
-// TEST16: @"\01??_8F at Test16@@7BC at 1@E at 1@@" =
-// TEST16: @"\01??_8F at Test16@@7BB at 1@E at 1@@" =
-// TEST16: @"\01??_8F at Test16@@7BD at 1@@" =
-// TEST16: @"\01??_8F at Test16@@7BC at 1@@" =
-// TEST16: @"\01??_8F at Test16@@7BB at 1@@" =
-// TEST16: @"\01??_8E at Test16@@7B01@@" =
-// TEST16: @"\01??_8E at Test16@@7BD at 1@@" =
-// TEST16: @"\01??_8E at Test16@@7BC at 1@@" =
-// TEST16: @"\01??_8E at Test16@@7BB at 1@@" =
-// TEST16: @"\01??_8D at Test16@@7B@" =
-// TEST16: @"\01??_8D at Test16@@7BC at 1@@" =
-// TEST16: @"\01??_8D at Test16@@7BB at 1@@" =
-// TEST16: @"\01??_8C at Test16@@7B01@@" =
-// TEST16: @"\01??_8C at Test16@@7BB at 1@@" =
-// TEST16: @"\01??_8B at Test16@@7B@" =
+// CHECK-DAG: @"\01??_8F at Test16@@7BE at 1@@" =
+// CHECK-DAG: @"\01??_8F at Test16@@7BD at 1@E at 1@@" =
+// CHECK-DAG: @"\01??_8F at Test16@@7BC at 1@E at 1@@" =
+// CHECK-DAG: @"\01??_8F at Test16@@7BB at 1@E at 1@@" =
+// CHECK-DAG: @"\01??_8F at Test16@@7BD at 1@@" =
+// CHECK-DAG: @"\01??_8F at Test16@@7BC at 1@@" =
+// CHECK-DAG: @"\01??_8F at Test16@@7BB at 1@@" =
+// CHECK-DAG: @"\01??_8E at Test16@@7B01@@" =
+// CHECK-DAG: @"\01??_8E at Test16@@7BD at 1@@" =
+// CHECK-DAG: @"\01??_8E at Test16@@7BC at 1@@" =
+// CHECK-DAG: @"\01??_8E at Test16@@7BB at 1@@" =
+// CHECK-DAG: @"\01??_8D at Test16@@7B@" =
+// CHECK-DAG: @"\01??_8D at Test16@@7BC at 1@@" =
+// CHECK-DAG: @"\01??_8D at Test16@@7BB at 1@@" =
+// CHECK-DAG: @"\01??_8C at Test16@@7B01@@" =
+// CHECK-DAG: @"\01??_8C at Test16@@7BB at 1@@" =
+// CHECK-DAG: @"\01??_8B at Test16@@7B@" =
 }
 
 namespace Test17 {
@@ -342,16 +318,16 @@ struct J : virtual I { int j; };
 struct K : virtual J { int k; }; // ambig
 K k;
 
-// TEST17: @"\01??_8K at Test17@@7B01@@" =
-// TEST17: @"\01??_8J at Test17@@7B@" =
-// TEST17: @"\01??_8I at Test17@@7B01@@" =
-// TEST17: @"\01??_8H at Test17@@7B@" =
-// TEST17: @"\01??_8G at Test17@@7B01@@" =
-// TEST17: @"\01??_8F at Test17@@7B@" =
-// TEST17: @"\01??_8E at Test17@@7B01@@" =
-// TEST17: @"\01??_8D at Test17@@7B@" =
-// TEST17: @"\01??_8C at Test17@@7B01@@" =
-// TEST17: @"\01??_8B at Test17@@7B@" =
+// CHECK-DAG: @"\01??_8K at Test17@@7B01@@" =
+// CHECK-DAG: @"\01??_8J at Test17@@7B@" =
+// CHECK-DAG: @"\01??_8I at Test17@@7B01@@" =
+// CHECK-DAG: @"\01??_8H at Test17@@7B@" =
+// CHECK-DAG: @"\01??_8G at Test17@@7B01@@" =
+// CHECK-DAG: @"\01??_8F at Test17@@7B@" =
+// CHECK-DAG: @"\01??_8E at Test17@@7B01@@" =
+// CHECK-DAG: @"\01??_8D at Test17@@7B@" =
+// CHECK-DAG: @"\01??_8C at Test17@@7B01@@" =
+// CHECK-DAG: @"\01??_8B at Test17@@7B@" =
 }
 
 namespace Test18 {
@@ -362,14 +338,14 @@ struct D : C, B { int d; };
 struct E : D, C, B { int e; };
 E e;
 
-// TEST18: @"\01??_8E at Test18@@7BC at 1@D at 1@@" =
-// TEST18: @"\01??_8E at Test18@@7BB at 1@D at 1@@" =
-// TEST18: @"\01??_8E at Test18@@7BC at 1@@" =
-// TEST18: @"\01??_8E at Test18@@7BB at 1@@" =
-// TEST18: @"\01??_8B at Test18@@7B@" =
-// TEST18: @"\01??_8C at Test18@@7B@" =
-// TEST18: @"\01??_8D at Test18@@7BC at 1@@" =
-// TEST18: @"\01??_8D at Test18@@7BB at 1@@" =
+// CHECK-DAG: @"\01??_8E at Test18@@7BC at 1@D at 1@@" =
+// CHECK-DAG: @"\01??_8E at Test18@@7BB at 1@D at 1@@" =
+// CHECK-DAG: @"\01??_8E at Test18@@7BC at 1@@" =
+// CHECK-DAG: @"\01??_8E at Test18@@7BB at 1@@" =
+// CHECK-DAG: @"\01??_8B at Test18@@7B@" =
+// CHECK-DAG: @"\01??_8C at Test18@@7B@" =
+// CHECK-DAG: @"\01??_8D at Test18@@7BC at 1@@" =
+// CHECK-DAG: @"\01??_8D at Test18@@7BB at 1@@" =
 }
 
 namespace Test19 {
@@ -380,16 +356,16 @@ struct D : virtual C, virtual B { int d;
 struct E : virtual D, virtual C, virtual B { int e; };
 E e;
 
-// TEST19: @"\01??_8E at Test19@@7B01@@" =
-// TEST19: @"\01??_8E at Test19@@7BD at 1@@" =
-// TEST19: @"\01??_8E at Test19@@7BC at 1@@" =
-// TEST19: @"\01??_8E at Test19@@7BB at 1@@" =
-// TEST19: @"\01??_8D at Test19@@7B@" =
-// TEST19: @"\01??_8D at Test19@@7BC at 1@@" =
-// TEST19: @"\01??_8D at Test19@@7BB at 1@@" =
-// TEST19: @"\01??_8C at Test19@@7B01@@" =
-// TEST19: @"\01??_8C at Test19@@7BB at 1@@" =
-// TEST19: @"\01??_8B at Test19@@7B@" =
+// CHECK-DAG: @"\01??_8E at Test19@@7B01@@" =
+// CHECK-DAG: @"\01??_8E at Test19@@7BD at 1@@" =
+// CHECK-DAG: @"\01??_8E at Test19@@7BC at 1@@" =
+// CHECK-DAG: @"\01??_8E at Test19@@7BB at 1@@" =
+// CHECK-DAG: @"\01??_8D at Test19@@7B@" =
+// CHECK-DAG: @"\01??_8D at Test19@@7BC at 1@@" =
+// CHECK-DAG: @"\01??_8D at Test19@@7BB at 1@@" =
+// CHECK-DAG: @"\01??_8C at Test19@@7B01@@" =
+// CHECK-DAG: @"\01??_8C at Test19@@7BB at 1@@" =
+// CHECK-DAG: @"\01??_8B at Test19@@7B@" =
 }
 
 namespace Test20 {
@@ -401,10 +377,10 @@ struct D : virtual B { int d; };
 struct E : C, D { int e; };
 E f;
 
-// TEST20: @"\01??_8E at Test20@@7BC at 1@@" = linkonce_odr unnamed_addr constant [3 x i32] [i32 0, i32 20, i32 24]
-// TEST20: @"\01??_8E at Test20@@7BD at 1@@" = linkonce_odr unnamed_addr constant [2 x i32] [i32 0, i32 16]
-// TEST20: @"\01??_8D at Test20@@7B@" = linkonce_odr unnamed_addr constant [2 x i32] [i32 0, i32 8]
-// TEST20: @"\01??_8C at Test20@@7B@" = linkonce_odr unnamed_addr constant [2 x i32] [i32 0, i32 8]
+// CHECK-DAG: @"\01??_8E at Test20@@7BC at 1@@" = linkonce_odr unnamed_addr constant [3 x i32] [i32 0, i32 20, i32 24]
+// CHECK-DAG: @"\01??_8E at Test20@@7BD at 1@@" = linkonce_odr unnamed_addr constant [2 x i32] [i32 0, i32 16]
+// CHECK-DAG: @"\01??_8D at Test20@@7B@" = linkonce_odr unnamed_addr constant [2 x i32] [i32 0, i32 8]
+// CHECK-DAG: @"\01??_8C at Test20@@7B@" = linkonce_odr unnamed_addr constant [2 x i32] [i32 0, i32 8]
 }
 
 namespace Test21 {
@@ -418,19 +394,19 @@ struct G : E { int g; };
 struct H : F, G { int h; };
 H h;
 
-// TEST21: @"\01??_8H at Test21@@7B@" =
-// TEST21: @"\01??_8H at Test21@@7BC at 1@F at 1@@" =
-// TEST21: @"\01??_8H at Test21@@7BD at 1@F at 1@@" =
-// TEST21: @"\01??_8H at Test21@@7BC at 1@G at 1@@" =
-// TEST21: @"\01??_8H at Test21@@7BD at 1@G at 1@@" =
-// TEST21: @"\01??_8G at Test21@@7BC at 1@@" =
-// TEST21: @"\01??_8G at Test21@@7BD at 1@@" =
-// TEST21: @"\01??_8F at Test21@@7B@" =
-// TEST21: @"\01??_8F at Test21@@7BC at 1@@" =
-// TEST21: @"\01??_8F at Test21@@7BD at 1@@" =
-// TEST21: @"\01??_8E at Test21@@7BC at 1@@" =
-// TEST21: @"\01??_8E at Test21@@7BD at 1@@" =
-// TEST21: @"\01??_8D at Test21@@7B@" =
-// TEST21: @"\01??_8B at Test21@@7B@" =
-// TEST21: @"\01??_8C at Test21@@7B@" =
+// CHECK-DAG: @"\01??_8H at Test21@@7B@" =
+// CHECK-DAG: @"\01??_8H at Test21@@7BC at 1@F at 1@@" =
+// CHECK-DAG: @"\01??_8H at Test21@@7BD at 1@F at 1@@" =
+// CHECK-DAG: @"\01??_8H at Test21@@7BC at 1@G at 1@@" =
+// CHECK-DAG: @"\01??_8H at Test21@@7BD at 1@G at 1@@" =
+// CHECK-DAG: @"\01??_8G at Test21@@7BC at 1@@" =
+// CHECK-DAG: @"\01??_8G at Test21@@7BD at 1@@" =
+// CHECK-DAG: @"\01??_8F at Test21@@7B@" =
+// CHECK-DAG: @"\01??_8F at Test21@@7BC at 1@@" =
+// CHECK-DAG: @"\01??_8F at Test21@@7BD at 1@@" =
+// CHECK-DAG: @"\01??_8E at Test21@@7BC at 1@@" =
+// CHECK-DAG: @"\01??_8E at Test21@@7BD at 1@@" =
+// CHECK-DAG: @"\01??_8D at Test21@@7B@" =
+// CHECK-DAG: @"\01??_8B at Test21@@7B@" =
+// CHECK-DAG: @"\01??_8C at Test21@@7B@" =
 }





More information about the cfe-commits mailing list