diff options
author | Artjoms Sinkarovs <artyom.shinkaroff@gmail.com> | 2011-10-03 08:13:26 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2011-10-03 08:13:26 -0700 |
commit | f90e8e2eae9a83d22efd7922673116a97ebf5290 (patch) | |
tree | f49377e311033773555fb0a2471ab04986fefafe /gcc/testsuite/gcc.dg/builtin-complex-err-1.c | |
parent | e4a5b262e7bc64b22a34ada24b5d83b6c13dbe40 (diff) | |
download | gcc-f90e8e2eae9a83d22efd7922673116a97ebf5290.zip gcc-f90e8e2eae9a83d22efd7922673116a97ebf5290.tar.gz gcc-f90e8e2eae9a83d22efd7922673116a97ebf5290.tar.bz2 |
Vector shuffling patch from Artem Shinkarov.
From-SVN: r179462
Diffstat (limited to 'gcc/testsuite/gcc.dg/builtin-complex-err-1.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/builtin-complex-err-1.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/gcc.dg/builtin-complex-err-1.c b/gcc/testsuite/gcc.dg/builtin-complex-err-1.c index b9dab83..3ef50da 100644 --- a/gcc/testsuite/gcc.dg/builtin-complex-err-1.c +++ b/gcc/testsuite/gcc.dg/builtin-complex-err-1.c @@ -19,8 +19,8 @@ _Complex float fc3 = __builtin_complex (1.0f, 1.0); /* { dg-error "different typ void f (void) { - __builtin_complex (0.0); /* { dg-error "expected" } */ - __builtin_complex (0.0, 0.0, 0.0); /* { dg-error "expected" } */ + __builtin_complex (0.0); /* { dg-error "wrong number of arguments" } */ + __builtin_complex (0.0, 0.0, 0.0); /* { dg-error "wrong number of arguments" } */ } -void (*p) (void) = __builtin_complex; /* { dg-error "expected" } */ +void (*p) (void) = __builtin_complex; /* { dg-error "cannot take address" } */ |