// Check no warnings/errors
// RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -fopenmp -fopenmp-version=51 -fsyntax-only -verify %s
// expected-no-diagnostics
// Check AST and unparsing
// RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -fopenmp -fopenmp-version=51 -ast-dump %s | FileCheck %s --check-prefix=DUMP
// RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -fopenmp -fopenmp-version=51 -ast-print %s | FileCheck %s --check-prefix=PRINT --match-full-lines
// Check same results after serialization round-trip
// RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -fopenmp -fopenmp-version=51 -emit-pch -o %t %s
// RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -fopenmp -fopenmp-version=51 -include-pch %t -ast-dump-all %s | FileCheck %s --check-prefix=DUMP
// RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -fopenmp -fopenmp-version=51 -include-pch %t -ast-print %s | FileCheck %s --check-prefix=PRINT --match-full-lines
// placeholder for loop body code.
void ;
// PRINT-LABEL: void func_unroll() {
// DUMP-LABEL: FunctionDecl {{.*}} func_unroll
void
// PRINT-LABEL: void func_unroll_full() {
// DUMP-LABEL: FunctionDecl {{.*}} func_unroll_full
void
// PRINT-LABEL: void func_unroll_partial() {
// DUMP-LABEL: FunctionDecl {{.*}} func_unroll_partial
void
// PRINT-LABEL: void func_unroll_partial_factor() {
// DUMP-LABEL: FunctionDecl {{.*}} func_unroll_partial_factor
void
// PRINT-LABEL: void func_unroll_partial_factor_for() {
// DUMP-LABEL: FunctionDecl {{.*}} func_unroll_partial_factor_for
void
// PRINT-LABEL: template <typename T, T Start, T End, T Step, int Factor> void unroll_templated() {
// DUMP-LABEL: FunctionTemplateDecl {{.*}} unroll_templated
void
void
// PRINT-LABEL: template <int Factor> void unroll_templated_factor(int start, int stop, int step) {
// DUMP-LABEL: FunctionTemplateDecl {{.*}} unroll_templated_factor
void
void