<commit_before>
// Structure Inheritance Test 3
// 05/04/2017

struct A {
	int a;
	static int static_a;
	int get1() { return a; }
};

struct B : A {
	int a;
	int get2() { return a; }
	int get3() { return A::a; }        // Access to local member of base "A"
	int get4() { return A::static_a; } // Access to static member of base "A"
};

struct C : B {
	int a;
};

int A::static_a = 1;

float4 main() : COLOR {
	C s;
	s.a = A::static_a;
	s.C::a = A::a; //WRONG
	s.B::a = 2;
	s.A::a = 3;
	//s.A::get1();
	return float4(s.get1(), s.get2(), s.get3(), s.get4());
}<commit_msg>Updated StructInheritTest3.<commit_after>
// Structure Inheritance Test 3
// 05/04/2017

struct A {
	int a;
	static int static_a;
	int get1() { return a; }
};

struct B : A {
	int a;
	int get2() { return a; }
	int get3() { return A::a; }        // Access to local member of base "A"
	int get4() { return A::static_a; } // Access to static member of base "A"
};

struct C : B {
	int a;
	int get5() { return A::a; }
	int get6() { return B::a; }
};

int A::static_a = 1;

void main() {
	C s;
	s.a = A::static_a;
	s.C::a = 1;//A::a; //WRONG
	s.B::a = 2;
	s.A::a = 3;
	//s.A::get1();
	
	s.get1();
	s.get2();
	s.get3();
	s.get4();
	s.get5();
	s.get6();
}
{'fraction_non_alphanumeric': 0.20935960591133004, 'fraction_numerical': 0.041050903119868636, 'mean_word_length': 2.660660660660661, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7433834', 'n_tokens_mistral': 581, 'n_tokens_neox': 552, 'n_words': 161}