Debian Codegraph @

gcc/testsuite/g++.target/aarch64/sve/acle/general-c++/dot_2.C

raw
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 }