summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/debug-info-args.c
blob: 1d4ea10f17df6e25dcfe43b0b138ae1ca3514dd3 (about) (plain)
1
2
3
4
5
6
7
8
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;
}