diff --git a/test/chpldoc/functions/WhereClause.doc.chpl b/test/chpldoc/functions/WhereClause.doc.chpl index f91c064fb607..d7cd93794c6e 100644 --- a/test/chpldoc/functions/WhereClause.doc.chpl +++ b/test/chpldoc/functions/WhereClause.doc.chpl @@ -30,6 +30,11 @@ module M { writeln("processRange 2"); } + pragma "no where doc" + proc processRangeNW(r: range) where r.low > 1 { + writeln("processRange no where"); + } + // From borrowed-in-where.chpl proc foo(type t) where isSubtype(t, int) { writeln("In foo where"); diff --git a/test/chpldoc/functions/WhereClause.doc.good b/test/chpldoc/functions/WhereClause.doc.good index 075b5174c4a1..51e7f39af927 100644 --- a/test/chpldoc/functions/WhereClause.doc.good +++ b/test/chpldoc/functions/WhereClause.doc.good @@ -33,6 +33,8 @@ or .. function:: proc processRange(r: range) where r.low > 1 +.. function:: proc processRangeNW(r: range) + .. function:: proc foo(type t) where isSubtype(t, int) .. function:: operator +(a: int, b: int) where a > 0