1f4a2713aSLionel Sambuc // RUN: %clang_cc1 -emit-llvm -g -triple x86_64-apple-darwin %s -o - | FileCheck %s 2f4a2713aSLionel Sambuc testVLAwithSize(int s)3f4a2713aSLionel Sambucvoid testVLAwithSize(int s) 4f4a2713aSLionel Sambuc { 5*0a6a1f1dSLionel Sambuc // CHECK: !"0x100\00vla\00[[@LINE+1]]\008192", {{.*}}, {{.*}}, {{.*}}} ; [ DW_TAG_auto_variable ] [vla] [line [[@LINE+1]]] 6f4a2713aSLionel Sambuc int vla[s]; 7f4a2713aSLionel Sambuc int i; 8f4a2713aSLionel Sambuc for (i = 0; i < s; i++) { 9f4a2713aSLionel Sambuc vla[i] = i*i; 10f4a2713aSLionel Sambuc } 11f4a2713aSLionel Sambuc } 12