* tree-loop-distribution.c (struct partition): New field recording
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr40676.c
blobb0426288292bb4004e4d08fb4a7f3bfffe1eecbd
1 extern int f1();
2 extern int f2(void*);
3 extern void* f3(int);
4 int xmsih;
5 typedef unsigned short XWCHAR;
7 inline unsigned int xstrlenW( const XWCHAR *str )
9 const XWCHAR *s = str;
10 while (*s) s++;
11 return s - str;
15 static int msi_dialog_register_class( void )
17 int cls;
19 if( !f2( &cls ) )
20 return 0;
21 if( !f2( &cls ) )
22 return 0;
23 xmsih = f1();
24 if( !xmsih )
25 return 0;
26 return 1;
29 void *xmsi_dialog_create(const XWCHAR* szDialogName)
31 msi_dialog_register_class();
32 return f3(xstrlenW(szDialogName));