Move new test where it belongs

This commit is contained in:
Doug Gregor
2022-08-30 11:09:41 -07:00
parent 413fb37b70
commit aa05d4a2c9

View File

@@ -0,0 +1,9 @@
// RUN: %empty-directory(%t)
// RUN: %target-swift-frontend %s -typecheck -clang-header-expose-public-decls -emit-clang-header-path %t/function_with_array.h
// RUN: %FileCheck %s < %t/function_with_array.h
// CHECK: namespace function_with_array
// FIXME: we don't actually emit a declaration for this, but for now at least
// check that we don't crash.
// CHECK-NOT: void f
public func f(_: [Int]) { }