Exemple #1
0
int
main ()
{
  int ar[2] = {1,2};
  struct s st;
  struct SS ss;
#ifdef __cplusplus
  C c;
  c.c = 1;
  c.d = 2;
  D d;
  d.e = 3;
  d.f = 4;

  c.a_method (0, 1);
  c.a_const_method (0, 1);
  C::a_static_method (0, 1);
#endif
  enum E e;

  st.a = 3;
  st.b = 5;

  e = v2;

  ss.x = 100;

  a_function (0, 1);

  return 0;      /* break to inspect struct and array.  */
}
Exemple #2
0
static int hello(void) {
	debug_print(NOTICE, "Calling a_function from other module.");
	a_function();
	return 0;
}