diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/other/error26.C')
-rw-r--r-- | gcc/testsuite/g++.dg/other/error26.C | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/other/error26.C b/gcc/testsuite/g++.dg/other/error26.C new file mode 100644 index 000000000..fb2c8b727 --- /dev/null +++ b/gcc/testsuite/g++.dg/other/error26.C @@ -0,0 +1,6 @@ +// PR c++/35333 + +void foo(__complex__ double x) +{ + __builtin_conj(x)(); // { dg-error "~x" } +} |