Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.target/aarch64/sve/acle/general-c++/dot_2.C @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | |
children |
rev | line source |
---|---|
145 | 1 /* { dg-do compile } */ |
2 | |
3 #include "dot_2.h" | |
4 | |
5 void | |
6 f1 (svuint32_t x, svint8_t y, svuint8_t z) | |
7 { | |
8 svdot (x, y); /* { dg-error {no matching function for call to 'svdot\(svuint32_t&, svint8_t&\)'} } */ | |
9 svdot (x, x, x); /* { dg-error {no matching function for call to 'svdot\(svuint32_t&, svuint32_t&, svuint32_t&\)'} } */ | |
10 svdot (1, z, z); /* { dg-error {no matching function for call to 'svdot\(int, svuint8_t&, svuint8_t&\)'} } */ | |
11 svdot (x, y, z); /* { dg-error {no matching function for call to 'svdot\(svuint32_t&, svint8_t&, svuint8_t&\)'} } */ | |
12 } |