mirror of
https://review.haiku-os.org/buildtools
synced 2025-01-19 04:48:37 +01:00
0cb01df558
Change-Id: I7a413a81d33762f3cb1e8c67883d1e616f83d0e9 Reviewed-on: https://review.haiku-os.org/c/1536 Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
20 lines
234 B
C
20 lines
234 B
C
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
|
|
extern int foo (void);
|
|
|
|
extern __thread int yyy;
|
|
|
|
__thread int zzz = 20;
|
|
|
|
int
|
|
main (void)
|
|
{
|
|
if (foo () != zzz)
|
|
abort ();
|
|
if (yyy != 100)
|
|
abort ();
|
|
printf ("PASS\n");
|
|
return 0;
|
|
}
|