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.
20 lines
250 B
20 lines
250 B
4 months ago
|
extern struct Y {
|
||
|
int n;
|
||
|
float f;
|
||
|
} y1;
|
||
|
enum E { e1 };
|
||
|
|
||
|
struct X {
|
||
|
int n;
|
||
|
} x1;
|
||
|
|
||
|
template<typename T>
|
||
|
struct F {
|
||
|
int n;
|
||
|
friend bool operator==(const F &a, const F &b) { return a.n == b.n; }
|
||
|
};
|
||
|
|
||
|
int f() {
|
||
|
return y1.n + e1 + y1.f + x1.n;
|
||
|
}
|