Skip to content

Commit 9104585

Browse files
committed
[embedded] Require macOS or Linux in test/embedded/no-allocations.swift
1 parent ff1f8ad commit 9104585

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/embedded/no-allocations.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// RUN: %target-swift-emit-ir %s -enable-experimental-feature Embedded -no-allocations -wmo -verify -verify-ignore-unknown
44

55
// REQUIRES: swift_in_compiler
6+
// REQUIRES: OS=macosx || OS=linux-gnu
67

78
public class X {} // expected-error {{cannot use allocating type 'X' in -no-allocations mode}}
89
public func use_a_class() -> X {

0 commit comments

Comments
 (0)