mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-20 13:19:36 +08:00
simplify
From-SVN: r34417
This commit is contained in:
parent
a7833bec2c
commit
16a8282ca1
@ -2,8 +2,7 @@
|
||||
|
||||
// execution test
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
int r;
|
||||
|
||||
const int& min(const int& tX, const int& tY)
|
||||
{
|
||||
@ -13,13 +12,13 @@ const int& min(const int& tX, const int& tY)
|
||||
void foo(const int m, const int n)
|
||||
{
|
||||
if (m == 1 && n == 100)
|
||||
printf("PASS\n");
|
||||
/* OK */;
|
||||
else
|
||||
abort ();
|
||||
r = 1;
|
||||
}
|
||||
|
||||
int main()
|
||||
{
|
||||
foo(min(2, 1), min(100, 200));
|
||||
return 0;
|
||||
return r;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user