Skip to content

Commit 5d6f4f6

Browse files
committed
Run #if compiler tests also in Swift 4 mode
1 parent ccbc3f7 commit 5d6f4f6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/Parse/ConditionalCompilation/compiler.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// RUN: %target-typecheck-verify-swift
2+
// RUN: %target-typecheck-verify-swift -swift-version 4
23

34
#if !compiler(>=4.1)
45
// There should be no error here.

0 commit comments

Comments
 (0)