mirror of https://github.com/rui314/chibicc
13 lines
140 B
C
13 lines
140 B
C
|
#include "test.h"
|
||
|
|
||
|
extern int ext1;
|
||
|
extern int *ext2;
|
||
|
|
||
|
int main() {
|
||
|
ASSERT(5, ext1);
|
||
|
ASSERT(5, *ext2);
|
||
|
|
||
|
printf("OK\n");
|
||
|
return 0;
|
||
|
}
|