blob: 6cf5b396bdd60c63e7419667f71cbf7c8e711e31 [file] [log] [blame]
// RUN: %empty-directory(%t)
// RUN: %target-swift-frontend -emit-module -o %t %S/Inputs/NIOFoundationCompat.swift
// RUN: %target-swift-frontend -typecheck %s -I %t -verify
// REQUIRES: objc_interop
import Foundation
import NIOFoundationCompat
func test(data: Data) {
data.withUnsafeBytes { x in print(x) }
}