File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 1
- // RUN: cir-opt %s
1
+ // RUN: cir-opt %s -o %t.cir
2
+ // RUN: FileCheck --input-file=%t.cir %s
2
3
3
4
!s32i = !cir.int<s, 32>
4
5
!rec_S = !cir.record<struct "S" {!s32i}>
@@ -8,3 +9,12 @@ module {
8
9
cir.func private @_ZN1SC2Ev(!cir.ptr<!rec_S>) ctor<!rec_S, default>
9
10
cir.func private @_ZN1SD2Ev(!cir.ptr<!rec_S>) dtor<!rec_S>
10
11
}
12
+
13
+ // CHECK: !s32i = !cir.int<s, 32>
14
+ // CHECK: !rec_S = !cir.record<struct "S" {!s32i}>
15
+ // CHECK: module {
16
+ // CHECK: cir.func private @_ZN1SC1ERKS_(!cir.ptr<!rec_S>, !cir.ptr<!rec_S>) ctor<!rec_S, copy>
17
+ // CHECK: cir.func private @_ZN1SC2Ei(!cir.ptr<!rec_S>, !cir.ptr<!rec_S>) ctor<!rec_S>
18
+ // CHECK: cir.func private @_ZN1SC2Ev(!cir.ptr<!rec_S>) ctor<!rec_S, default>
19
+ // CHECK: cir.func private @_ZN1SD2Ev(!cir.ptr<!rec_S>) dtor<!rec_S>
20
+ // CHECK: }
You can’t perform that action at this time.
0 commit comments