fix cgen_test
							parent
							
								
									7c47f345be
								
							
						
					
					
						commit
						520ec0f53a
					
				|  | @ -439,6 +439,7 @@ fn (c mut V) cc_windows_cross() { | ||||||
| 	include := '-I $winroot/include ' | 	include := '-I $winroot/include ' | ||||||
| 	*/ | 	*/ | ||||||
| 	mut cmd := '' | 	mut cmd := '' | ||||||
|  | 	cmd = '' | ||||||
| 	$if macos { | 	$if macos { | ||||||
| 		cmd = 'x86_64-w64-mingw32-gcc $args -municode' | 		cmd = 'x86_64-w64-mingw32-gcc $args -municode' | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
|  | @ -33,6 +33,8 @@ void myuser() { | ||||||
| 	User user = (User){ | 	User user = (User){ | ||||||
| 		.age = 10, | 		.age = 10, | ||||||
| 	}; | 	}; | ||||||
| 	User age = user.age; | 	int age = user.age + 1; | ||||||
|  | 	int boo = 2; | ||||||
|  | 	int boo2 = boo + 1; | ||||||
| 	bool b = age > 0; | 	bool b = age > 0; | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue