clang/test/CodeGenCXX/complex128.cpp
raw| 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 | |
| 6 | void check() { |
| 7 | // CHECK: alloca { fp128, fp128 } |
| 8 | __complex128 tmp; |
| 9 | } |