1 // RUN: %clang_cc1 %s -ast-print -o - | FileCheck %s 2 3 // FIXME: Test fails because attribute order is reversed by ParsedAttributes. 4 // XFAIL: * 5 run1(int * List,int Length)6void run1(int *List, int Length) { 7 int i = 0; 8 // CEHCK: #pragma loop vectorize(4) 9 // CHECK-NEXT: #pragma loop interleave(8) 10 // CHECK-NEXT: #pragma loop vectorize(enable) 11 // CHECK-NEXT: #pragma loop interleave(enable) 12 #pragma loop vectorize(4) 13 #pragma loop interleave(8) 14 #pragma loop vectorize(enable) 15 #pragma loop interleave(enable) 16 // CHECK-NEXT: while (i < Length) 17 while (i < Length) { 18 List[i] = i; 19 i++; 20 } 21 } 22