summaryrefslogtreecommitdiffstats
path: root/test/ASTMerge/typedef/test.c
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2019-02-26 02:22:22 +0000
committerReid Kleckner <rnk@google.com>2019-02-26 02:22:22 +0000
commitd1f474468bb8b093737af8c7149cbdbaf8abb737 (patch)
tree3a5bd311e78aca4a964f8ec4f408a9eee5c0cac6 /test/ASTMerge/typedef/test.c
parent4983a66562c8bf3d0ccf042fc42dd9a30e7c2420 (diff)
Revert r354832 "[ASTImporter] Add support for importing ChooseExpr AST nodes."
Test does not pass on Windows git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@354839 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ASTMerge/typedef/test.c')
-rw-r--r--test/ASTMerge/typedef/test.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/ASTMerge/typedef/test.c b/test/ASTMerge/typedef/test.c
deleted file mode 100644
index 79e4723118..0000000000
--- a/test/ASTMerge/typedef/test.c
+++ /dev/null
@@ -1,7 +0,0 @@
-// RUN: %clang_cc1 -emit-pch -o %t.1.ast %S/Inputs/typedef1.c
-// RUN: %clang_cc1 -emit-pch -o %t.2.ast %S/Inputs/typedef2.c
-// RUN: not %clang_cc1 -ast-merge %t.1.ast -ast-merge %t.2.ast -fsyntax-only %s 2>&1 | FileCheck %s
-
-// CHECK: typedef2.c:4:10: error: external variable 'x2' declared with incompatible types in different translation units ('Typedef2' (aka 'double') vs. 'Typedef2' (aka 'int'))
-// CHECK: typedef1.c:4:10: note: declared here with type 'Typedef2' (aka 'int')
-// CHECK: 1 error