File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,10 @@ $DMD -c -m${MODEL} -allinst -of${objfile} ${EXTRA_FILES}/${TEST_NAME}a.d -I${EXT
5
5
6
6
# This test is brittle and might break in the future.
7
7
# For now, ensure a specific AA TypeInfo isn't defined multiple times, as happened with DMD v2.111.0.
8
+
9
+ # LDC: different TypeInfo emission strategy, test doesn't apply
10
+ exit 0
11
+
8
12
mangled_sym=' _D14TypeInfo_HiAya6__initZ'
9
13
num_typeinfo_syms=$( nm --defined-only ${objfile} | grep -F ${mangled_sym} | wc -l)
10
14
if [[ " ${num_typeinfo_syms} " -ne 1 ]]; then
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ fail_compilation/fail19103.d(26): class `C` defined here
6
6
fail_compilation/fail19103.d(16): Error: no property `puts` for `s1` of type `fail19103.S1`
7
7
fail_compilation/fail19103.d(30): struct `S1` defined here
8
8
fail_compilation/fail19103.d(18): Error: no property `puts` for type `S2`
9
- $p:druntime/import /core/stdc/stdio.d$($n$): did you mean `core.stdc.stdio.puts`?
9
+ $p:/core/stdc/stdio.d$($n$): did you mean `core.stdc.stdio.puts`?
10
10
---
11
11
*/
12
12
void main ()
You can’t perform that action at this time.
0 commit comments