diff options
author | Eric Christopher <echristo@apple.com> | 2011-07-28 00:11:03 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-07-28 00:11:03 +0000 |
commit | ddc29f002e5a066bc0763f25cdd27a1e33d96da8 (patch) | |
tree | e099a22088d7d39ee7b2d27ded0583e507f0d73f | |
parent | 6455d84653f6e27c76e9d4ff89710f733e13664c (diff) | |
download | bcm5719-llvm-ddc29f002e5a066bc0763f25cdd27a1e33d96da8.tar.gz bcm5719-llvm-ddc29f002e5a066bc0763f25cdd27a1e33d96da8.zip |
Correct the triple here.
llvm-svn: 136304
-rw-r--r-- | clang/test/CodeGen/debug-info-iv.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/CodeGen/debug-info-iv.c b/clang/test/CodeGen/debug-info-iv.c index 55ea659fd81..1d9bf32c2cd 100644 --- a/clang/test/CodeGen/debug-info-iv.c +++ b/clang/test/CodeGen/debug-info-iv.c @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -triple x86_64-darwin-apple -Os -S -g -o - %s | FileCheck %s +// RUN: %clang_cc1 -triple x86_64-apple-darwin -Os -S -g -o - %s | FileCheck %s int calculate(int); static void test_indvars(int *Array1, int Array2[100][200]) { @@ -14,13 +14,13 @@ static void test_indvars(int *Array1, int Array2[100][200]) { for (i = 13; i < 100; i++) for (j = 0; j < 100; j+=3) /* 2d array access */ Array2[i][j/3] = Array2[i][i]; -} +} int main() { int Array[100][200], i, j; double sum = 0.0; - + for (i=0; i < 100; i+=2) for (j=0; j < 200; j++) Array[i][j] = 0; @@ -30,6 +30,6 @@ int main() { for (i=0; i < 100; i+=2) for (j=0; j < 200; j++) sum += Array[i][j]; - + return calculate(sum); } |