Sign in
fuchsia
/
third_party
/
llvm-project
/
d4228eb0774a94536c1b47ee4e331586f23b2a8a
/
.
/
clang
/
test
/
Sema
/
unroll-template-value-crash.cpp
blob: d8953c4845c265fae4aeda2bdb0f5c8d77f43ece [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -x c++ -verify %s
// expected-no-diagnostics
template
<
int
Unroll
>
void
foo
()
{
#pragma
unroll
Unroll
for
(
int
i
=
0
;
i
<
Unroll
;
++
i
);
#pragma
GCC unroll
Unroll
for
(
int
i
=
0
;
i
<
Unroll
;
++
i
);
}