blob: 2fa48de23fc7c8b5e8ed97011b55c2869315c6fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/* { dg-do compile } */
/* { dg-options "" } */
/* Make sure that section names that contain characters not in the set
[0-9a-zA-Z_] get quoted for the assembler. */
__attribute__((section ("uretprobe//proc/self/exe:trigger_func2")))
void
foo ()
{
}
__attribute__((section ("trigger_func3")))
void
bar ()
{
}
/* { dg-final { scan-assembler {\.section\t"uretprobe//proc/self/exe:trigger_func2"} } } */
/* { dg-final { scan-assembler {\.section\ttrigger_func3} } } */
|