blob: 963acd36c93e42baaddbb0996cb47350ba2b34bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
char *foo(char **pfmt)
{
return ++*pfmt;
}
/*
* check-name: deref-ptr-ptr
* check-command: test-linearize -m64 -Wno-decl $file
*
* check-output-excludes: load[^.]
* check-output-contains: load\.
* check-output-excludes: store[^.]
* check-output-contains: store\.
*
* check-output-start
foo:
.L0:
<entry-point>
load.64 %r2 <- 0[%arg1]
add.64 %r3 <- %r2, $1
store.64 %r3 -> 0[%arg1]
ret.64 %r3
* check-output-end
*/
|