]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/pr61817-2.c
asan: Fix ICE during instrumentation of returns_twice calls [PR112709]
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / pr61817-2.c
1 /* { dg-do compile } */
2 /* { dg-options "-std=c11 -ftrack-macro-expansion=1" } */
3
4 #define A(x) _Static_assert(x, #x)
5 #define F(x, y, z) a = __LINE__, b = x ## y, c = z
6
7 enum {
8 #line 10
9 F
10 (
11 __LI,
12 NE__,
13 __LINE__
14 )
15 };
16
17 A(a == 10);
18 A(b == 10);
19 A(c == 14);