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:
Jan Hubicka 2014-06-22 01:01:41 +02:00 committed by Jan Hubicka
parent 476571534d
commit 4da27d0fc7
3 changed files with 8 additions and 3 deletions

View File

@ -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.

View File

@ -22,7 +22,7 @@ __attribute__ ((weak,noinline))
__attribute ((alias("test")))
void test2(void);
void main()
int main()
{
test();
/* This call must bind locally. */

View File

@ -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;
}