summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/debug/dwarf2/pr41543.c
blob: 02683960bdbf656225146664465ad6cb76bd788e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* PR preprocessor/41543 */
/* { dg-do compile } */
/* { dg-options "-save-temps -g -O0 -dA -fno-merge-debug-strings" } */

#include <stdarg.h>

int
foo (va_list ap)
{
  return va_arg (ap, int);
}

/* { dg-final { scan-assembler-not "DW_AT_decl_file\[^\\r\\n\]*\(pr41543\.i\)" } } */
/* { dg-final { cleanup-saved-temps } } */