xref: /llvm-project/flang/test/Lower/complex-part.f90 (revision bd7eff1f2a7462ffbebc6beb8c7a3fecb1c39350)
1b914efc5SValentin Clement! RUN: bbc %s -o - | tco | FileCheck %s
2cc3c6b61SAndrzej Warzynski! RUN: %flang -emit-llvm -S -mmlir -disable-external-name-interop %s -o - | FileCheck %s
3b914efc5SValentin Clement
4b914efc5SValentin Clement  COMPLEX c
5b914efc5SValentin Clement  c%RE = 3.14
6b914efc5SValentin Clement  CALL sub(c)
7b914efc5SValentin ClementEND
8b914efc5SValentin Clement
9b914efc5SValentin Clement! Verify that the offset in the struct does not regress from i32.
10b914efc5SValentin Clement! CHECK-LABEL: define void @_QQmain()
11*bd7eff1fSMarkus Böck! CHECK: getelementptr { float, float }, ptr %{{[0-9]+}}, i32 0, i32 0
12b914efc5SValentin Clement
13