From c45a16c4b7778ca59843004ecafb0b3450042924 Mon Sep 17 00:00:00 2001 From: Sebastian Wilzbach Date: Sat, 14 Apr 2018 23:50:21 +0200 Subject: [PATCH] Only compile the failing spec tester example --- spec/arrays.dd | 2 +- spec/struct.dd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/arrays.dd b/spec/arrays.dd index 3a95d1cb3d..e42f9c92e7 100644 --- a/spec/arrays.dd +++ b/spec/arrays.dd @@ -255,7 +255,7 @@ s[1..3] = s[0..2]; // error, overlapping copy $(REF copy, std,algorithm,mutation): ) -$(SPEC_RUNNABLE_EXAMPLE_RUN +$(SPEC_RUNNABLE_EXAMPLE_COMPILE --------- import std.algorithm; int[] s = [1, 2, 3, 4]; diff --git a/spec/struct.dd b/spec/struct.dd index ac499fce79..2445618c1b 100644 --- a/spec/struct.dd +++ b/spec/struct.dd @@ -304,7 +304,7 @@ $(H2 $(LEGACY_LNAME2 StructLiteral, struct-literal, Struct Literals)) $(P Struct literals consist of the name of the struct followed by a parenthesized argument list:) - $(SPEC_RUNNABLE_EXAMPLE_RUN + $(SPEC_RUNNABLE_EXAMPLE_COMPILE --- struct S { int x; float y; }