Added support for Cilk Plus SIMD-enabled function for C.
[official-gcc.git] / gcc / testsuite / c-c++-common / cilk-plus / SE / ef_error3.c
blobab55fae0c326cf124dabd2fbef1a3cf15636b4a8
1 /* { dg-do compile { target { i?86-*-* x86_64-*-* } } } */
2 /* { dg-options "-fcilkplus -Wall" } */
4 __attribute__((vector (linear (x:y))))
5 int func2 (int x, int y)
6 { /* { dg-message "using parameters for" } */
7 return (x+y);
10 int main (void)
12 return (func2 (5,6));