1 namespace src { 2 foo()3void foo() { 4 int x = 321; 5 } 6 main()7void main() { foo(); }; 8 9 const char *a = "foo"; 10 11 typedef unsigned int nat; 12 13 int p = 1 * 2 * 3 * 4; 14 int squared = p * p; 15 16 class X { foo(int i)17 const char *foo(int i) { 18 if (i == 0) 19 return "foo"; 20 return 0; 21 } 22 23 public: X()24 X(){}; 25 id(int i)26 int id(int i) { return i; } 27 }; 28 } 29 m()30void m() { int x = 0 + 0 + 0; } 31 int um = 1 * 2 + 3; 32 f1()33void f1() {{ (void) __func__;;; }} 34