Files
swift-mirror/test/ImportResolution/import-resolution-3.swift
Hamish Knight 5b99c2020f NFC: Re-organize NameBinding tests
The directory currently seems to have a mix of
tests for import resolution and name lookup.
Therefore split it into two directories;
ImportResolution and NameLookup.
2020-03-29 18:51:09 -07:00

10 lines
305 B
Swift

// RUN: %empty-directory(%t)
// RUN: %target-swift-frontend -emit-module -o %t %S/Inputs/asdf.swift
// RUN: %target-swift-frontend -emit-module -o %t %S/Inputs/sdf.swift -I %t
// RUN: %target-swift-frontend -typecheck %s -I %t -verify
import asdf
import sdf
import struct sdf.S
var uS: S = sdf.S(x: 123)