diff options
Diffstat (limited to 'test/ASTMerge/macro')
-rw-r--r-- | test/ASTMerge/macro/Inputs/macro.modulemap | 4 | ||||
-rw-r--r-- | test/ASTMerge/macro/Inputs/macro1.h | 5 | ||||
-rw-r--r-- | test/ASTMerge/macro/Inputs/macro1.m | 5 | ||||
-rw-r--r-- | test/ASTMerge/macro/Inputs/macro2.m | 5 | ||||
-rw-r--r-- | test/ASTMerge/macro/test.m | 6 |
5 files changed, 0 insertions, 25 deletions
diff --git a/test/ASTMerge/macro/Inputs/macro.modulemap b/test/ASTMerge/macro/Inputs/macro.modulemap deleted file mode 100644 index dba1f2207f..0000000000 --- a/test/ASTMerge/macro/Inputs/macro.modulemap +++ /dev/null @@ -1,4 +0,0 @@ -module macro1 [extern_c] { - header "macro1.h" - export * -} diff --git a/test/ASTMerge/macro/Inputs/macro1.h b/test/ASTMerge/macro/Inputs/macro1.h deleted file mode 100644 index 9613394967..0000000000 --- a/test/ASTMerge/macro/Inputs/macro1.h +++ /dev/null @@ -1,5 +0,0 @@ -typedef void *VoidRef; - -void maybeNull( - int i, - _Nullable VoidRef *_Nullable); diff --git a/test/ASTMerge/macro/Inputs/macro1.m b/test/ASTMerge/macro/Inputs/macro1.m deleted file mode 100644 index 2612613bd0..0000000000 --- a/test/ASTMerge/macro/Inputs/macro1.m +++ /dev/null @@ -1,5 +0,0 @@ -@import macro1; - -void foo() { - maybeNull(0, 0); -} diff --git a/test/ASTMerge/macro/Inputs/macro2.m b/test/ASTMerge/macro/Inputs/macro2.m deleted file mode 100644 index b5b155a95b..0000000000 --- a/test/ASTMerge/macro/Inputs/macro2.m +++ /dev/null @@ -1,5 +0,0 @@ -void foo(); - -void bar() { - foo(); -} diff --git a/test/ASTMerge/macro/test.m b/test/ASTMerge/macro/test.m deleted file mode 100644 index 77e596d3ba..0000000000 --- a/test/ASTMerge/macro/test.m +++ /dev/null @@ -1,6 +0,0 @@ -// RUN: rm -rf %t -// RUN: mkdir -p %t/cache -// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t/cache -fmodule-map-file=%S/Inputs/macro.modulemap -I%S/Inputs -emit-pch -o %t.1.ast %S/Inputs/macro1.m -// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t/cache -fmodule-map-file=%S/Inputs/macro.modulemap -I%S/Inputs -emit-pch -o %t.2.ast %S/Inputs/macro2.m -// RUN: %clang_cc1 -fmodules -ast-merge %t.1.ast -ast-merge %t.2.ast -fsyntax-only -verify %s -// expected-no-diagnostics |