diff options
Diffstat (limited to 'clang')
-rw-r--r-- | clang/test/CodeGen/complex.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/CodeGen/complex.c b/clang/test/CodeGen/complex.c index 055383ebbbe..1212660e878 100644 --- a/clang/test/CodeGen/complex.c +++ b/clang/test/CodeGen/complex.c @@ -93,3 +93,7 @@ void t6() { double t7(double _Complex c) { return __builtin_fabs(__real__(c)); } + +void t8() { + __complex__ int *x = &(__complex__ int){1}; +} |