| 1 |
#include <arm_sve.h> |
| 2 |
|
| 3 |
svbool_t f1 (svcount_t x) { return x; } /* { dg-error {incompatible types} } */ |
| 4 |
svcount_t f2 (svbool_t x) { return x; } /* { dg-error {incompatible types} } */ |
| 5 |
void f3 (svbool_t *p, svcount_t x) { *p = x; } /* { dg-error {incompatible types} } */ |
| 6 |
void f4 (svcount_t *p, svbool_t x) { *p = x; } /* { dg-error {incompatible types} } */ |
| 7 |
svbool_t *f5 (svcount_t *p) { return p; } /* { dg-error {incompatible return type} } */ |
| 8 |
svcount_t *f6 (svbool_t *p) { return p; } /* { dg-error {incompatible return type} } */ |
| 9 |
svbool_t f7 (svcount_t x) { return (svbool_t) x; } /* { dg-error {conversion to non-scalar} } */ |
| 10 |
svcount_t f8 (svbool_t x) { return (svcount_t) x; } /* { dg-error {conversion to non-scalar} } */ |