From 1144084cb24ae53a120db47b1e77188247d7b583 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Tue, 26 Feb 2019 02:22:22 +0000 Subject: Revert r354832 "[ASTImporter] Add support for importing ChooseExpr AST nodes." Test does not pass on Windows llvm-svn: 354839 --- .../ASTMerge/class-template-partial-spec/test.cpp | 25 ---------------------- 1 file changed, 25 deletions(-) delete mode 100644 clang/test/ASTMerge/class-template-partial-spec/test.cpp (limited to 'clang/test/ASTMerge/class-template-partial-spec/test.cpp') diff --git a/clang/test/ASTMerge/class-template-partial-spec/test.cpp b/clang/test/ASTMerge/class-template-partial-spec/test.cpp deleted file mode 100644 index cfa6052e710..00000000000 --- a/clang/test/ASTMerge/class-template-partial-spec/test.cpp +++ /dev/null @@ -1,25 +0,0 @@ -// RUN: %clang_cc1 -emit-pch -std=c++1z -o %t.1.ast %S/Inputs/class-template-partial-spec1.cpp -// RUN: %clang_cc1 -emit-pch -std=c++1z -o %t.2.ast %S/Inputs/class-template-partial-spec2.cpp -// RUN: not %clang_cc1 -std=c++1z -ast-merge %t.1.ast -ast-merge %t.2.ast -fsyntax-only %s 2>&1 | FileCheck %s - -static_assert(sizeof(**SingleSource.member) == sizeof(**SingleDest.member)); -static_assert(sizeof(SecondDoubleSource.member) == sizeof(SecondDoubleDest.member)); -static_assert(NumberSource.val == 42); -static_assert(sizeof(Z0Source.member) == sizeof(char)); -static_assert(sizeof(Dst::Z0Dst.member) == sizeof(double)); -static_assert(sizeof(One::Child1>::member) == sizeof(double)); - -// CHECK: class-template-partial-spec2.cpp:21:32: error: external variable 'X1' declared with incompatible types in different translation units ('TwoOptionTemplate' vs. 'TwoOptionTemplate') -// CHECK: class-template-partial-spec1.cpp:21:31: note: declared here with type 'TwoOptionTemplate' - -// CHECK: class-template-partial-spec2.cpp:24:29: error: external variable 'X4' declared with incompatible types in different translation units ('TwoOptionTemplate' vs. 'TwoOptionTemplate') -// CHECK: class-template-partial-spec1.cpp:24:33: note: declared here with type 'TwoOptionTemplate' - -// CHECK: class-template-partial-spec1.cpp:38:8: warning: type 'IntTemplateSpec<5, void *>' has incompatible definitions in different translation units -// CHECK: class-template-partial-spec1.cpp:39:7: note: field 'member' has type 'int' here -// CHECK: class-template-partial-spec2.cpp:39:10: note: field 'member' has type 'double' here - -// CHECK: class-template-partial-spec2.cpp:52:25: error: external variable 'Y3' declared with incompatible types in different translation units ('IntTemplateSpec<2, int>' vs. 'IntTemplateSpec<3, int>') -// CHECK: class-template-partial-spec1.cpp:52:25: note: declared here with type 'IntTemplateSpec<3, int>' - -// CHECK-NOT: static_assert -- cgit v1.2.3