aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/attr-nodebug.c
blob: e0c813399fb95c5f713e7499072e8223edbb7b3b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: clang-cc -g -emit-llvm -o %t %s
// RUN: not grep 'call void @llvm.dbg.func.start' %t

void t1() __attribute__((nodebug));

void t1()
{
  int a = 10;
  
  a++;
}