00001 int __attribute__((const)) square(int n) 00002 { 00003 return n*n; 00004 } 00005 00006 int main() 00007 { 00008 int c = square(2) + square(2); 00009 return c; 00010 }