]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/c-c++-common/cilk-plus/SE/ef_error3.c
[Patch AArch64] Fixup floating point division with -march=armv8-a+nosimd
[thirdparty/gcc.git] / gcc / testsuite / c-c++-common / cilk-plus / SE / ef_error3.c
CommitLineData
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 5int func2 (int x, int y)
7e005ab5 6{ /* { dg-message "using parameters for" "" { target c } } */
74acc703 7 return (x+y);
8}
9
10int main (void)
11{
12 return (func2 (5,6));
13}