xref: /llvm-project/clang/test/CodeGenCXX/complex128.cpp (revision 5c8d3053fa0c183ea4f908e51a111ada3d4031f2)
1 // RUN: %clang_cc1 -emit-llvm -triple x86_64-unknown-linux-gnu %s -o - | FileCheck %s
2 
3 // Define __complex128 type corresponding to __float128 (as in GCC headers).
4 typedef _Complex float __attribute__((mode(TC))) __complex128;
5 
check()6 void check() {
7   // CHECK: alloca { fp128, fp128 }
8   __complex128 tmp;
9 }
10