]>
Commit | Line | Data |
---|---|---|
572f8300 | 1 | /* { dg-do compile } */ |
74acc703 | 2 | /* { dg-options "-fcilkplus -Wall" } */ |
3 | ||
7e005ab5 | 4 | __attribute__((vector (linear (x:y)))) /* { dg-message "parameter" "" { target c++ } } */ |
74acc703 | 5 | int func2 (int x, int y) |
7e005ab5 | 6 | { /* { dg-message "using parameters for" "" { target c } } */ |
74acc703 | 7 | return (x+y); |
8 | } | |
9 | ||
10 | int main (void) | |
11 | { | |
12 | return (func2 (5,6)); | |
13 | } |