summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/foreign-ty-semantic-fail.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/foreign-ty-semantic-fail.rs')
-rw-r--r--tests/ui/parser/foreign-ty-semantic-fail.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/parser/foreign-ty-semantic-fail.rs b/tests/ui/parser/foreign-ty-semantic-fail.rs
index 96b15232b..4d30086e7 100644
--- a/tests/ui/parser/foreign-ty-semantic-fail.rs
+++ b/tests/ui/parser/foreign-ty-semantic-fail.rs
@@ -15,4 +15,5 @@ extern "C" {
//~^ ERROR incorrect `type` inside `extern` block
type E: where;
+ //~^ ERROR `type`s inside `extern` blocks cannot have `where` clauses
}