1 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -w -S -o - -emit-llvm              %s | FileCheck %s
2 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -w -S -o - -emit-llvm -fmath-errno %s | FileCheck %s
3 
4 float _Complex test_conjf(float _Complex x) {
5 // CHECK-LABEL: @test_conjf(
6 // CHECK: fneg float %x.imag
7   return conjf(x);
8 }
9 
10 double _Complex test_conj(double _Complex x) {
11 // CHECK-LABEL: @test_conj(
12 // CHECK: fneg double %x.imag
13   return conj(x);
14 }
15 
16 long double _Complex test_conjl(long double _Complex x) {
17 // CHECK-LABEL: @test_conjl(
18 // CHECK: fneg x86_fp80 %x.imag
19   return conjl(x);
20 }
21