//Compile syntax.c and syntax_weak with -nostartfiles -nodefaultlibs and then objdump the result. //Should give an error msg ? void weak_function(void); void weak_function(void){ asm volatile ("nop \n" "nop \n" "nop \n"::); }