Files
swift-mirror/test/Serialization/too-new.swift
Jordan Rose f9c4046896 [serialization] Validate the control block -- is the module too new?
Not so interesting right now, but eventually we'll be validating other
things as well, and it's best not to have FIXMEs lying around.

Swift SVN r5175
2013-05-16 00:23:13 +00:00

6 lines
177 B
Swift

// RUN: %swift %s -parse -I=%S/Inputs -verify
import too_new // expected-error{{module file was created by a newer version of the compiler}}
too_new // no-warning (but empty)