freebsd-dev/test/CodeGen/attr-nodebug.c

13 lines
172 B
C
Raw Normal View History

2010-01-01 10:34:51 +00:00
// RUN: %clang_cc1 -g -emit-llvm -o %t %s
2009-06-02 17:58:47 +00:00
// RUN: not grep 'call void @llvm.dbg.func.start' %t
void t1() __attribute__((nodebug));
void t1()
{
int a = 10;
a++;
}