Files
swift-mirror/test/Sema/dynamic_attr_requires_module.swift
David Farler b7d17b25ba Rename -parse flag to -typecheck
A parse-only option is needed for parse performance tracking and the
current option also includes semantic analysis.
2016-11-28 10:50:55 -08:00

8 lines
302 B
Swift

// RUN: %target-build-swift -typecheck %s -Xfrontend -verify
// RUN: %target-build-swift -typecheck -parse-as-library %s -Xfrontend -verify
// REQUIRES: executable_test
class Oof {
dynamic func impliesObjC() { } // expected-error {{'dynamic' attribute used without importing module 'Foundation'}}
}