Fix the two gmoules-prefered-name-* tests
authorYongKang Zhu <yongzhu@fb.com>
Fri, 7 Apr 2023 05:17:35 +0000 (22:17 -0700)
committerYongKang Zhu <yongzhu@fb.com>
Fri, 7 Apr 2023 07:12:29 +0000 (00:12 -0700)
Add missing "REQUIRES: asserts" for the two tests added in commit
711a64412749ae73709562b591ab1609a3ee7751 (Diff: D145803).

Reviewed By: chapuni

Differential Revision: https://reviews.llvm.org/D147764

clang/test/Modules/gmodules-preferred-name-alias.cpp
clang/test/Modules/gmodules-preferred-name-typedef.cpp

index 4eba07c..687125c 100644 (file)
@@ -1,3 +1,4 @@
+// REQUIRES: asserts
 // RUN: rm -rf %t
 // RUN: %clang_cc1 -std=c++11 -dwarf-ext-refs -fmodule-format=obj \
 // RUN:     -fmodule-map-file=%S/Inputs/gmodules-preferred-name-alias.modulemap \
index e473808..e6a8f3e 100644 (file)
@@ -1,3 +1,4 @@
+// REQUIRES: asserts
 // RUN: rm -rf %t
 // RUN: %clang_cc1 -std=c++11 -dwarf-ext-refs -fmodule-format=obj \
 // RUN:     -fmodule-map-file=%S/Inputs/gmodules-preferred-name-typedef.modulemap \