From-SVN: r34417
This commit is contained in:
Jason Merrill 2000-06-05 20:17:32 -04:00
parent a7833bec2c
commit 16a8282ca1

View File

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