Files
clang-p2996/lldb/test/API/lang/c/complex/main.c
Raphael Isemann 3e66bd291f [lldb][NFC] Add test for C99 and GCC complex types
LLDB has a lot of code for supporting complex types but we don't have a single
test for it. This adds some basic tests and documents the found bugs.
2020-06-19 16:22:16 +02:00

9 lines
228 B
C

#include <complex.h>
int main() {
float complex complex_float = -1.5f + -2.5f * I;
double complex complex_double = -1.5 + -2.5 * I;
long double complex complex_long_double = -1.5L + -2.5L * I;
return 0; // break here
}