blob: 195e9f1d7a661cea4c3fc01e8354993f6db84f3a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* { dg-do compile { target { i?86-*-* x86_64-*-* } } } */
/* { dg-options "-fcilkplus -Wall" } */
__attribute__((vector (linear (x:y)))) /* { dg-message "parameter" "" { target c++ } } */
int func2 (int x, int y)
{ /* { dg-message "using parameters for" "" { target c } } */
return (x+y);
}
int main (void)
{
return (func2 (5,6));
}
|