llvm/clang/test/CodeGen/2003-06-23-GCC-fold-infinite-recursion.c

// RUN: %clang_cc1 -emit-llvm %s  -o /dev/null

double Test(double A, double B, double C, double D) {
  return -(A-B) - (C-D);
}