mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Also, fix lit.cfg for running the test suite natively in Android and mark one SILOptimizer executable_test as such.
9 lines
280 B
Swift
9 lines
280 B
Swift
// RUN: %target-swiftxx-frontend -I %S/Inputs %s -emit-ir | %FileCheck %s
|
|
|
|
import CustomNewOperator
|
|
|
|
var x = callsCustomNew()
|
|
|
|
// Make sure the definition of `operator new` is emitted.
|
|
// CHECK: define {{.*}} @{{_ZnwmPv15container_new_t|"\?\?2@YAPEAX_KPEAXUcontainer_new_t@@@Z"}}
|