aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/debug-info-args.c
blob: 50b85411adb986fc62a2df5769d348b914320ce8 (plain) (blame)
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 ![[NUM:[^,]*]], i32 0, null, null, null} ; [ DW_TAG_subroutine_type
  // CHECK: ![[NUM]] = {{metadata !{metadata ![^,]*, metadata ![^,]*, metadata ![^,]*, metadata ![^,]*}}}
  
  return y;
}