summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/mangle-long-double.cpp
blob: e248c474a2e781a240b8332c8150f4b370287b82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: %clang_cc1 -triple powerpc64-unknown-linux-gnu %s -emit-llvm -o - | FileCheck %s --check-prefix=POWER64-LINUX
// RUN: %clang_cc1 -triple powerpc-unknown-linux-gnu   %s -emit-llvm -o - | FileCheck %s --check-prefix=POWER-LINUX
// RUN: %clang_cc1 -triple powerpc64-apple-darwin9     %s -emit-llvm -o - | FileCheck %s --check-prefix=POWER64-DARWIN
// RUN: %clang_cc1 -triple powerpc-apple-darwin9       %s -emit-llvm -o - | FileCheck %s --check-prefix=POWER-DARWIN
// RUN: %clang_cc1 -triple s390x-unknown-linux-gnu     %s -emit-llvm -o - | FileCheck %s --check-prefix=S390X-LINUX

void f(long double) {}
// POWER64-LINUX:  _Z1fg
// POWER-LINUX:    _Z1fg
// POWER64-DARWIN: _Z1fe
// POWER-DARWIN:   _Z1fe
// S390X-LINUX:    _Z1fg