Skip to content

Commit d81fe63

Browse files
committed
Correct a test from the merge.
1 parent 4826347 commit d81fe63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/SemaSYCL/initiation_interval.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
[[intel::initiation_interval(-1)]] void func1() {} // expected-error{{'initiation_interval' attribute requires a positive integral compile time constant expression}}
1111

12-
[[intel::initiation_interval(0, 1)]] void func2() {} // expected-error{{'initiation_interval' attribute takes no more than 1 argument}}
12+
[[intel::initiation_interval(0, 1)]] void func2() {} // expected-error{{'initiation_interval' attribute takes one argument}}
1313

1414
// Tests for Intel FPGA initiation_interval function attribute duplication.
1515
// No diagnostic is emitted because the arguments match. Duplicate attribute is silently ignored.

0 commit comments

Comments
 (0)