X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FFrontendC%2F2002-04-08-LocalArray.c;h=1dc51a092844c4bae9e954c5d093f4683e18e1b9;hb=2f46f1f59c17040f7a2c970342f2f1dcc9b78319;hp=af6ebd6bdf9082eef5082aff6aec29a35efe1905;hpb=0b85642898bd81209e56e8098c065e2975d455a0;p=oota-llvm.git diff --git a/test/FrontendC/2002-04-08-LocalArray.c b/test/FrontendC/2002-04-08-LocalArray.c index af6ebd6bdf9..1dc51a09284 100644 --- a/test/FrontendC/2002-04-08-LocalArray.c +++ b/test/FrontendC/2002-04-08-LocalArray.c @@ -1,9 +1,9 @@ -// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null +// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null /* GCC is not outputting the static array to the LLVM backend, so bad things * happen. Note that if this is defined static, everything seems fine. */ -void test(unsigned X) { +double test(unsigned X) { double student_t[30]={0.0 , 12.706 , 4.303 , 3.182 , 2.776 , 2.571 , 2.447 , 2.365 , 2.306 , 2.262 , 2.228 , 2.201 , 2.179 , 2.160 , 2.145 , 2.131 ,