diff options
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/pr110266.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/pr110266.c b/gcc/testsuite/gcc.c-torture/compile/pr110266.c new file mode 100644 index 0000000..92af0c5 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/pr110266.c @@ -0,0 +1,9 @@ +double PsyBufferUpdate(int n) +{ + if (n == 4) + { + _Complex double t = __builtin_cexpi(n); + return __real t * __imag t; + } + return 0; +} |