Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1356)

Unified Diff: test/CodeGen/emscripten-regparm.c

Issue 1022123003: clang: add support for asmjs arch and Emscripten OS (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-clang.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/CodeGen/emscripten-regparm.c
diff --git a/test/CodeGen/le32-regparm.c b/test/CodeGen/emscripten-regparm.c
similarity index 61%
copy from test/CodeGen/le32-regparm.c
copy to test/CodeGen/emscripten-regparm.c
index c8f70694c43d1c24a6e262f22ecc91a245fa6cd2..14c3ae557ea8109cbe3d64756bef9f223a6f8d8a 100644
--- a/test/CodeGen/le32-regparm.c
+++ b/test/CodeGen/emscripten-regparm.c
@@ -1,4 +1,3 @@
-// RUN: %clang_cc1 -triple le32-unknown-nacl %s -fsyntax-only -verify
+// RUN: %clang_cc1 -triple asmjs-unknown-emscripten %s -fsyntax-only -verify
void __attribute__((regparm(2))) fc_f1(int i, int j, int k) {} // expected-error{{'regparm' is not valid on this platform}}
-

Powered by Google App Engine
This is Rietveld 408576698