[ create a new paste ] login | about

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

TinoDidriksen - C++, pasted on Sep 9:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <iostream>

inline void a() {
  std::cout << __PRETTY_FUNCTION__ << std::endl;
}

inline void b() {
  std::cout << __PRETTY_FUNCTION__ << std::endl;
  a();
}

int main() {
  b();
}


Output:
1
2
void b()
void a()


Create a new paste based on this one


Comments: