blob: 91030fc65d68ac45ef8b6aa372e49d302af59d5c [file] [log] [blame]
njn25e49d8e72002-09-23 09:36:25 +00001#include <stdio.h>
mueller535cc6e2004-01-03 14:18:02 +00002#include <stdlib.h>
njn25e49d8e72002-09-23 09:36:25 +00003
4int gcc_cant_inline_me ( int );
5
6int main ()
7{
8 int *x, y;
9
10 x = (int *) malloc (sizeof (int));
11
12 y = *x == 173;
13
14 if (gcc_cant_inline_me(y)) { }
15
16 return 0;
17}
18
19/* must be AFTER main */
20int gcc_cant_inline_me ( int n )
21{
22 if (n == 42)
23 return 1; /* forty-two, dudes! */
24 else
25 return 0; /* some other number, dudes! */
26}
27
28