summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/attr-nodebug.c
blob: 66caa2b38fac9436b2b23c83a90d2139dfbbceb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: %clang_cc1 -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++;
}

OpenPOWER on IntegriCloud