You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
403 B
34 lines
403 B
namespace src {
|
|
|
|
void foo() {
|
|
int x = 321;
|
|
}
|
|
|
|
void main() { foo(); };
|
|
|
|
const char *a = "foo";
|
|
|
|
typedef unsigned int nat;
|
|
|
|
int p = 1 * 2 * 3 * 4;
|
|
int squared = p * p;
|
|
|
|
class X {
|
|
const char *foo(int i) {
|
|
if (i == 0)
|
|
return "foo";
|
|
return 0;
|
|
}
|
|
|
|
public:
|
|
X(){};
|
|
|
|
int id(int i) { return i; }
|
|
};
|
|
}
|
|
|
|
void m() { int x = 0 + 0 + 0; }
|
|
int um = 1 * 2 + 3;
|
|
|
|
void f1() {{ (void) __func__;;; }}
|