Files
swift-mirror/test/Serialization/semantics.swift
Mark Lacey 517723dbe9 Add -enable-sil-verify-all to sil-opt tests.
Also remove -verify from almost all of them, since only two actually
have expected diagnostic output that is tested.

Swift SVN r32198
2015-09-24 07:25:15 +00:00

9 lines
293 B
Swift

// RUN: rm -rf %t
// RUN: mkdir %t
// RUN: %target-swift-frontend %s -emit-module -parse-as-library -o %t
// RUN: %target-sil-opt -enable-sil-verify-all %t/semantics.swiftmodule -o - | FileCheck %s
//CHECK: @_semantics("crazy") func foo()
@_semantics("crazy") func foo() -> Int { return 5}