We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af1d601 commit 4da9a87Copy full SHA for 4da9a87
test/Interop/Cxx/foreign-reference/not-any-object.swift
@@ -2,18 +2,14 @@
2
// RUN: split-file %s %t
3
// RUN: %target-swift-frontend -typecheck -verify -verify-ignore-unknown -I %t/Inputs %t/test.swift -enable-experimental-cxx-interop
4
5
-// REQUIRES: objc_interop
6
-
7
//--- Inputs/module.modulemap
8
module Test {
9
header "test.h"
10
requires cplusplus
11
}
12
13
//--- Inputs/test.h
14
-#include <stdlib.h>
15
16
-inline void* operator new(unsigned long, void* p) { return p; }
+#include <new>
17
18
struct __attribute__((swift_attr("import_reference")))
19
__attribute__((swift_attr("retain:immortal")))
0 commit comments