Requires-asserts macro tests

Macros are an experimental feature, as such are not available on
non-asserts compilers.

Adding requires asserts to remaining experimental macro tests.
 - ModuleInterface/macros.swift
 - Serialization/macros.swift
This commit is contained in:
Evan Wilde
2022-12-01 11:18:10 -08:00
parent 9f542898cd
commit 5f9ac391be
2 changed files with 4 additions and 0 deletions

View File

@@ -1,3 +1,5 @@
// REQUIRES: asserts
// RUN: %empty-directory(%t)
// RUN: %target-swift-frontend -typecheck -module-name Macros -emit-module-interface-path %t/Macros.swiftinterface -enable-experimental-feature Macros %s