You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// expected-error@+1 {{integral constant expression must have integral or unscoped enumeration type, not 'float'}}
672
721
[[intel::loop_count(Ty{})]] for (int i = 0; i != 10; ++i)
673
722
a[i] = 0;
723
+
724
+
// expected-error@+2 {{integral constant expression must have integral or unscoped enumeration type, not 'S'}}
725
+
// expected-error@+1 {{integral constant expression must have integral or unscoped enumeration type, not 'float'}}
726
+
[[intel::max_reinvocation_delay(Ty{})]] for (int i = 0; i != 10; ++i)
727
+
a[i] = 0;
728
+
674
729
}
675
730
676
731
intmain() {
@@ -693,12 +748,14 @@ int main() {
693
748
speculated_iterations_dependent<1, 8, -3, 0>(); // expected-note{{in instantiation of function template specialization 'speculated_iterations_dependent<1, 8, -3, 0>' requested here}}
694
749
loop_coalesce_dependent<-1, 4, 0>(); // expected-note{{in instantiation of function template specialization 'loop_coalesce_dependent<-1, 4, 0>' requested here}}
695
750
loop_count_control_dependent<3, 2, -1>(); // expected-note{{in instantiation of function template specialization 'loop_count_control_dependent<3, 2, -1>' requested here}}
751
+
max_reinvocation_delay_dependent<1, 3, 0>(); // expected-note{{in instantiation of function template specialization 'max_reinvocation_delay_dependent<1, 3, 0>' requested here}}
696
752
check_max_concurrency_expression();
697
753
check_max_interleaving_expression();
698
754
check_speculated_iterations_expression();
699
755
check_loop_coalesce_expression();
700
756
check_initiation_interval_expression();
701
757
check_loop_count_expression();
758
+
check_max_reinvocation_delay_expression();
702
759
check_loop_attr_template_instantiation<S>(); //expected-note{{in instantiation of function template specialization 'check_loop_attr_template_instantiation<S>' requested here}}
703
760
check_loop_attr_template_instantiation<float>(); //expected-note{{in instantiation of function template specialization 'check_loop_attr_template_instantiation<float>' requested here}}
0 commit comments