repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c/64856
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
charset
/
asm6.c
blob
ae2ec485d804bccb610caa6ee5763a318ca52f6d
1
/* Test for string translation. */
2
/* { dg-do compile }
3
{ dg-require-iconv "IBM1047" }
4
{ dg-final { scan-assembler "foo" } } */
5
int
main
()
6
{
7
unsigned long int
*
ptr
;
8
ptr
= ((
unsigned long int
*)
9
( {
void
*
stack_ptr
;
10
__asm__
__volatile__
(
"foo %0"
:
"=r"
(
stack_ptr
) );
11
(
stack_ptr
); } ) );
12
return
0
;
13
}