Files
swift-mirror/test/IRGen/c_functions_error.swift
Michael Gottesman fd4828e40a Eliminate -assume-parsing-unqualified-ownership-sil from tests.
I am doing this separately from the actual change to eliminate the option to
make it easier to review.
2018-12-19 12:54:13 -08:00

10 lines
252 B
Swift

// RUN: not %target-swift-frontend -Xcc -mno-sse -import-objc-header %S/Inputs/c_functions_error.h -primary-file %s -emit-ir
// This should fail, but not crash.
// REQUIRES: CPU=x86_64
func call_buggy_builtin() {
produce_error_in_clang_irgen();
}