repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Break circular dependency between FIR dialect and utilities
[llvm-project.git]
/
flang
/
test
/
Fir
/
recursive-type-tco.fir
blob
9933f727af12b84702a52ec277072c4b510d0d6a
1
// Test lowering FIR to LLVM IR for a recursive type
2
3
// RUN: tco %s | FileCheck %s
4
5
// CHECK-LABEL: %t = type { ptr }
6
!t = !fir.type<t {p : !fir.ptr<!fir.type<t>>}>
7
8
// CHECK-LABEL: @a(%t %{{.*}})
9
func.func @a(%a : !t) {
10
return
11
}