view clang/test/CodeGen/debug-info-args.c @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children
line wrap: on
line source

// RUN: %clang_cc1 -triple x86_64-unk-unk -o - -emit-llvm -debug-info-kind=limited %s | FileCheck %s

int somefunc(char *x, int y, double z) {
  
  // CHECK: !DISubroutineType(types: ![[NUM:[0-9]+]])
  // CHECK: ![[NUM]] = {{!{![^,]*, ![^,]*, ![^,]*, ![^,]*}}}
  
  return y;
}