aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/complex128.cpp
blob: 71746314b9d39322bcbaebad82e0acbfaaafe742 (plain)
1
2
3
4
5
6
7
8
9
// RUN: %clang_cc1 -emit-llvm -triple x86_64-unknown-linux-gnu %s -o - | FileCheck %s

// Define __complex128 type corresponding to __float128 (as in GCC headers).
typedef _Complex float __attribute__((mode(TC))) __complex128;

void check() {
  // CHECK: alloca { fp128, fp128 }
  __complex128 tmp;
}