Files
swift-mirror/test/Interop/Cxx/class/custom-new-operator-irgen.swift
finagolfin 21d90c5a41 [test] Fix or disable tests for 32-bit platforms (#82501)
Fix two IRGen tests that are failing on Android armv7 and disable eight ClangImporter, C++ Interop, and SILOptimizer tests, two of which that were already failing on other 32-bit platforms.
2025-07-11 16:20:08 +05:30

9 lines
284 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 {{.*}} @{{_Znw(j|m)Pv15container_new_t|"\?\?2@YAPEAX_KPEAXUcontainer_new_t@@@Z"}}