localalias.c: Fix broken commit.
* gcc.dg/localalias.c: Fix broken commit. * gcc.dg/globalalias.c: Likewise. From-SVN: r211869
This commit is contained in:
parent
476571534d
commit
4da27d0fc7
@ -1,3 +1,8 @@
|
||||
2014-06-20 Jan Hubicka <hubicka@ucw.cz>
|
||||
|
||||
* gcc.dg/localalias.c: Fix broken commit.
|
||||
* gcc.dg/globalalias.c: Likewise.
|
||||
|
||||
2014-06-20 Jan Hubicka <hubicka@ucw.cz>
|
||||
|
||||
* gcc.dg/localalias.c: New testcase.
|
||||
|
@ -22,7 +22,7 @@ __attribute__ ((weak,noinline))
|
||||
__attribute ((alias("test")))
|
||||
void test2(void);
|
||||
|
||||
void main()
|
||||
int main()
|
||||
{
|
||||
test();
|
||||
/* This call must bind locally. */
|
||||
|
@ -22,7 +22,7 @@ void test(void)
|
||||
__attribute ((alias("test")))
|
||||
static void test2(void);
|
||||
|
||||
void main()
|
||||
int main()
|
||||
{
|
||||
test2();
|
||||
/* This call must bind locally. */
|
||||
@ -38,5 +38,5 @@ void main()
|
||||
if ((testcount != 1 || test2count != 3)
|
||||
&& (testcount != 3 || test2count != 1))
|
||||
abort ();
|
||||
reutrn 0;
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user