mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
8 lines
335 B
Swift
8 lines
335 B
Swift
// RUN: %empty-directory(%t)
|
|
// RUN: not %target-swift-emit-ir %s -module-name main -parse-as-library 2>&1 | %FileCheck %s
|
|
// RUN: %target-swift-emit-ir %s -module-name main -parse-as-library -enable-experimental-feature Volatile
|
|
|
|
import _Volatile
|
|
|
|
// CHECK: importing _Volatile module requires '-enable-experimental-feature Volatile'
|