summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/Modules/Inputs/redecl-merge-top-explicit.h2
-rw-r--r--clang/test/Modules/redecl-merge.m4
2 files changed, 4 insertions, 2 deletions
diff --git a/clang/test/Modules/Inputs/redecl-merge-top-explicit.h b/clang/test/Modules/Inputs/redecl-merge-top-explicit.h
index 54aab33e6ca..e06ff7aedaf 100644
--- a/clang/test/Modules/Inputs/redecl-merge-top-explicit.h
+++ b/clang/test/Modules/Inputs/redecl-merge-top-explicit.h
@@ -5,3 +5,5 @@ int *explicit_func(void);
struct explicit_struct { int member; };
#define ONE 1
+
+typedef struct my_struct_type *my_struct_ref;
diff --git a/clang/test/Modules/redecl-merge.m b/clang/test/Modules/redecl-merge.m
index b41986609c0..09898a5b3b8 100644
--- a/clang/test/Modules/redecl-merge.m
+++ b/clang/test/Modules/redecl-merge.m
@@ -1,11 +1,11 @@
// RUN: rm -rf %t
-// RUN: %clang_cc1 -fmodules -fmodule-cache-path %t -I %S/Inputs %s -verify
+// RUN: %clang_cc1 -fmodules -fmodule-cache-path %t -Wno-typedef-redefinition -I %S/Inputs %s -verify
// RUN: %clang_cc1 -x objective-c++ -fmodules -fmodule-cache-path %t -I %S/Inputs %s -verify
@class C2;
@class C3;
@class C3;
@import redecl_merge_left;
-
+typedef struct my_struct_type *my_struct_ref;
@protocol P4;
@class C3;
@class C3;
OpenPOWER on IntegriCloud