Skip to content

Commit 6a6dc70

Browse files
authored
tests/codegen/casm.c: Move to casm.i (#4662)
Don't call the C preprocessor as it may fail in a cross-compilation environment. Drop the `-mtriple` argument and let the test run on all platforms. Signed-off-by: Andrei Horodniceanu <[email protected]>
1 parent 5ac5d19 commit 6a6dc70

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

tests/codegen/casm.c

-6
This file was deleted.

tests/codegen/casm.i

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// RUN: %ldc -output-ll -of=%t.ll %s && FileCheck %s < %t.ll
2+
3+
// CHECK: module asm ".symver __qsort_r_compat, qsort_r@FBSD_1.0"
4+
asm(".symver " "__qsort_r_compat" ", " "qsort_r" "@" "FBSD_1.0");

0 commit comments

Comments
 (0)