| commit | 3082ed53642c2d61771ef628548d377aceaf2d6d | [log] [tgz] | 
|---|---|---|
| author | Jim Laskey <jlaskey@mac.com> | Mon Dec 04 12:23:17 2006 +0000 | 
| committer | Jim Laskey <jlaskey@mac.com> | Mon Dec 04 12:23:17 2006 +0000 | 
| tree | 43a0d6f3cdf592f9eda3811151f7b2dc4def6194 | |
| parent | 486c0adacdee77c552a3ef02e939b7b7414403cb [diff] [blame] | 
Fixed to use current debug info. llvm-svn: 32177
diff --git a/llvm/test/DebugInfo/funccall.c b/llvm/test/DebugInfo/funccall.c new file mode 100644 index 0000000..9735e34 --- /dev/null +++ b/llvm/test/DebugInfo/funccall.c
@@ -0,0 +1,17 @@ + +static int q; + +void foo() { + int t = q; + q = t + 1; +} +int main() { + q = 0; + foo(); + q = q - 1; + + return q; +} + +// This is the source that corresponds to funccall.ll +// RUN: echo foo