[ create a new paste ] login | about

Link: http://codepad.org/HY1JD0Z9    [ raw code | output | fork ]

C++, pasted on Sep 7:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
struct T {
   T() { cout << "*T"; }
  ~T() { cout << "~T"; }
};

int main() {
   {
      T t;
      goto lol;
   }
   
lol:
   return 0;
}


Output:
1
*T~T


Create a new paste based on this one


Comments: