File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
test/Interop/SwiftToCxx/core Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change
1
+ // RUN: %empty-directory(%t)
2
+
3
+ // RUN: %target-interop-build-clangxx -c %s -I %t -S -emit-llvm -o %t/ir.ll
4
+ // RUN: %FileCheck %s < %t/ir.ll
5
+
6
+ // REQUIRES: OS=windows-msvc
7
+
8
+ unsigned char getEnumTagi8 (void *p);
9
+ unsigned getEnumTagi32 (void *p);
10
+
11
+ void test (void *p) {
12
+ getEnumTagi8 (p);
13
+ getEnumTagi32 (p);
14
+ }
15
+
16
+ // CHECK: declare dso_local noundef i8 @"?getEnumTagi8@@YAEPEAX@Z"(i8* noundef) #1
17
+ // CHECK: declare dso_local noundef i32 @"?getEnumTagi32@@YAIPEAX@Z"(i8* noundef) #1
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
+
2
3
// RUN: %target-interop-build-clangxx -c %s -I %t -S -emit-llvm -o %t/ir.ll
3
4
// RUN: %FileCheck %s < %t/ir.ll
4
5
6
+ // UNSUPPORTED: OS=windows-msvc
7
+
5
8
unsigned char getEnumTagi8 (void *p);
6
9
unsigned getEnumTagi32 (void *p);
7
10
You can’t perform that action at this time.
0 commit comments