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.
25 lines
645 B
25 lines
645 B
typedef struct A B;
|
|
extern const int variable;
|
|
extern constexpr int function();
|
|
constexpr int test(bool b) { return b ? variable : function(); }
|
|
|
|
namespace N {
|
|
typedef struct A B;
|
|
extern const int variable;
|
|
extern constexpr int function();
|
|
}
|
|
typedef N::B NB;
|
|
constexpr int N_test(bool b) { return b ? N::variable : N::function(); }
|
|
|
|
@import redecl_add_after_load_top;
|
|
typedef C::A CB;
|
|
constexpr int C_test(bool b) { return b ? C::variable : C::function(); }
|
|
|
|
struct D {
|
|
struct A;
|
|
static const int variable;
|
|
static constexpr int function();
|
|
};
|
|
typedef D::A DB;
|
|
constexpr int D_test(bool b) { return b ? D::variable : D::function(); }
|