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