mirror of
https://github.com/frida/tinycc
synced 2024-11-24 08:39:37 +03:00
7301b42e36
tests/tests2/27_sizeof.*: Add test.
19 lines
255 B
C
19 lines
255 B
C
#include <stdio.h>
|
|
|
|
int main()
|
|
{
|
|
char a;
|
|
int b;
|
|
double c;
|
|
|
|
printf("%d\n", sizeof(a));
|
|
printf("%d\n", sizeof(b));
|
|
printf("%d\n", sizeof(c));
|
|
|
|
printf("%d\n", sizeof(!a));
|
|
|
|
return 0;
|
|
}
|
|
|
|
/* vim: set expandtab ts=4 sw=3 sts=3 tw=80 :*/
|