#include extern char size_of_bar __asm__ ("bar@SIZE"); int main () { if (10 == (long) &size_of_bar) printf ("OK\n"); return 0; }