Index: test/win/masm/dummyfunc-x86.asm |
diff --git a/test/win/masm/dummyfunc-x86.asm b/test/win/masm/dummyfunc-x86.asm |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c7adbd643362ffd5070023ab1c006bf0217e3f7b |
--- /dev/null |
+++ b/test/win/masm/dummyfunc-x86.asm |
@@ -0,0 +1,21 @@ |
+; Copyright (c) 2013 Google Inc. All rights reserved. |
+; Use of this source code is governed by a BSD-style license that can be |
+; found in the LICENSE file. |
+ |
+.386 |
+.model flat, c |
+ |
+.CODE |
+ |
+; extern int dummyfunc(void) |
+ |
+dummyfunc PROC |
+IFDEF MEANING_OF_LIFE |
+ mov eax, 42 |
+ELSE |
+ mov eax, 1 |
+ENDIF |
+ ret |
+dummyfunc ENDP |
+ |
+END |