代码搜索:Class2
找到约 269 项符合「Class2」的源代码
代码结果 269
www.eeworm.com/read/470720/1447838
c typedef3.c
// Test that inheriting from a type typedefed to itself works.
// Build don't link:
typedef struct class1 {
class1& operator=(const class1&);
} class1;
class class2 : public class1 { };
www.eeworm.com/read/470720/1448302
m alias.m
/* Test alias warnings. */
/* { dg-do compile } */
@compatibility_alias class1 class2; /* { dg-warning "annot find class" } */
@interface class3;
@end
@interface class4;
@end
@compatibility_alias
www.eeworm.com/read/470693/1459784
c typedef3.c
// Test that inheriting from a type typedefed to itself works.
// Build don't link:
typedef struct class1 {
class1& operator=(const class1&);
} class1;
class class2 : public class1 { };
www.eeworm.com/read/470693/1460248
m alias.m
/* Test alias warnings. */
/* { dg-do compile } */
@compatibility_alias class1 class2; /* { dg-warning "annot find class" } */
@interface class3;
@end
@interface class4;
@end
@compatibility_alias
www.eeworm.com/read/240162/4583021
c typedef3.c
// { dg-do assemble }
// Test that inheriting from a type typedefed to itself works.
typedef struct class1 {
class1& operator=(const class1&);
} class1;
class class2 : public class1 { };
www.eeworm.com/read/233448/4675840
c typedef3.c
// { dg-do assemble }
// Test that inheriting from a type typedefed to itself works.
typedef struct class1 {
class1& operator=(const class1&);
} class1;
class class2 : public class1 { };
www.eeworm.com/read/233448/4676526
m alias.m
/* Test alias warnings. */
/* { dg-do compile } */
@compatibility_alias class1 class2; /* { dg-warning "annot find class" } */
@interface class3;
@end
@interface class4;
@end
@compatibility_alias
www.eeworm.com/read/190666/5175631
c typedef3.c
// Test that inheriting from a type typedefed to itself works.
// Build don't link:
typedef struct class1 {
class1& operator=(const class1&);
} class1;
class class2 : public class1 { };
www.eeworm.com/read/190666/5176085
m alias.m
/* Test alias warnings. */
/* { dg-do compile } */
@compatibility_alias class1 class2; /* { dg-warning "annot find class" } */
@interface class3;
@end
@interface class4;
@end
@compatibility_alias
www.eeworm.com/read/162614/5522905
m alias.m
/* Test alias warnings. */
/* { dg-do compile } */
@compatibility_alias class1 class2; /* { dg-warning "annot find class" } */
@interface class3;
@end
@interface class4;
@end
@compatibility_alias