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.
2 parents 14f39be + 2c00ae9 commit 535ea97Copy full SHA for 535ea97
test/Interop/Cxx/concepts/Inputs/method-requires.h
@@ -1,4 +1,6 @@
1
-inline void calledFromConceptBody(int x) {}
+inline void shouldNotBeCalledOrEmitted(int) {}
2
+
3
+inline void calledFromConceptBody(int x) { shouldNotBeCalledOrEmitted(x); }
4
inline void calledFromMethodBody(int x) {}
5
6
struct MyStruct {
test/Interop/Cxx/concepts/method-requires.swift
@@ -4,5 +4,5 @@ import MethodRequires
var s = MyStruct()
s.foo(123)
7
-// CHECK-NOT: calledFromConceptBody
+// CHECK-NOT: shouldNotBeCalledOrEmitted
8
// CHECK: calledFromMethodBody
0 commit comments