[NFC][TargetTransformInfo][VectorUtils] Consolidate `isVectorIntrinsic...` api (...
[llvm-project.git] / clang / test / CodeGen / 2007-09-27-ComplexIntCompare.c
blobf116aa717d7b83b65cb571a222e810ff4f2788b1
1 // RUN: %clang_cc1 -emit-llvm %s -o -
2 // PR1708
4 void __attribute__((noreturn)) abort(void);
5 void __attribute__((noreturn)) exit(int);
7 struct s { _Complex unsigned short x; };
8 struct s gs = { 100 + 200i };
9 struct s __attribute__((noinline)) foo (void) { return gs; }
11 int main (void)
13 if (foo ().x != gs.x)
14 abort ();
15 exit (0);