diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2012-04-14 14:01:31 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2012-04-14 14:01:31 +0000 |
| commit | dbe13110f59f48b4dbb7552b3ac2935acdeece7f (patch) | |
| tree | be1815eb79b42ff482a8562b13c2dcbf0c5dcbee /test/CodeGen/debug-info-args.c | |
| parent | 9da628931ebf2609493570f87824ca22402cc65f (diff) | |
Notes
Diffstat (limited to 'test/CodeGen/debug-info-args.c')
| -rw-r--r-- | test/CodeGen/debug-info-args.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/debug-info-args.c b/test/CodeGen/debug-info-args.c new file mode 100644 index 000000000000..1d4ea10f17df --- /dev/null +++ b/test/CodeGen/debug-info-args.c @@ -0,0 +1,9 @@ +// RUN: %clang_cc1 -triple x86_64-unk-unk -o - -emit-llvm -g %s | FileCheck %s + +int somefunc(char *x, int y, double z) { + + // CHECK: {{.*metadata !8, i32 0, i32 0}.*DW_TAG_subroutine_type}} + // CHECK: {{!8 = .*metadata ![^,]*, metadata ![^,]*, metadata ![^,]*, metadata ![^,]*}} + + return y; +} |
