mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
I am doing this separately from the actual change to eliminate the option to make it easier to review.
10 lines
252 B
Swift
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();
|
|
}
|