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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // RUN: %clang_cc1 -triple le32-unknown-nacl %s -fsyntax-only -verify 1 // RUN: %clang_cc1 -triple asmjs-unknown-emscripten %s -fsyntax-only -verify
2 2
3 void __attribute__((regparm(2))) fc_f1(int i, int j, int k) {} // expected-error {{'regparm' is not valid on this platform}} 3 void __attribute__((regparm(2))) fc_f1(int i, int j, int k) {} // expected-error {{'regparm' is not valid on this platform}}
4
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698