Add additional tests for #18172 (Followup MR 3543)

There was still one active discussion [thread](ghc/ghc!3543 (comment 284325)) when MR !3543 got merged.

This MR adds the requested tests exercising the changes in
`compiler/GHC/HsToCore/Match/Literal.hs:warnAboutEmptyEnumerations` and its sub-functions.
23 jobs for !3653 with T18172_2 in 362 minutes and 20 seconds (queued for 2 seconds)
detached
Status Job ID Name Coverage
  Lint
passed #388198
lint
ghc-linters

00:00:14

passed #388199
lint
lint-linters

00:00:14

passed #388202
lint
lint-submods

00:00:21

passed #388200
lint
lint-testsuite

00:00:16

passed #388201
lint
typecheck-testsuite

00:00:15

 
  Quick Build
passed #388203
x86_64-linux
hadrian-ghc-in-ghci

00:10:51

 
  Build
passed #388204
x86_64-linux
validate-x86_64-linux-deb9-hadrian

01:38:25

 
  Full Build
failed #388207
aarch64-linux allowed to fail
validate-aarch64-linux-deb9

02:55:50

failed #388208
armv7-linux allowed to fail
validate-armv7-linux-deb9

03:34:58

passed #388209
x86_64-linux
validate-i386-linux-deb9

01:37:11

failed #388216
new-x86_64-windows test allowed to fail
validate-i386-windows

00:02:39

passed #388206
x86_64-darwin
validate-x86_64-darwin

01:08:42

passed #388210
x86_64-linux
validate-x86_64-linux-deb9-debug

01:49:33

passed #388212
x86_64-linux
validate-x86_64-linux-deb9-dwarf

02:02:33

passed #388211
x86_64-linux
validate-x86_64-linux-deb9-integer-simple

01:38:20

passed #388205
x86_64-linux
validate-x86_64-linux-deb9-unreg-hadrian

02:43:02

passed #388213
x86_64-linux
validate-x86_64-linux-fedora27

01:52:25

failed #388215
new-x86_64-windows test allowed to fail
validate-x86_64-windows

00:31:01

failed #388214
new-x86_64-windows test allowed to fail
validate-x86_64-windows-hadrian

03:23:08

 
  Cleanup
passed #388217
x86_64-darwin
cleanup-darwin

00:00:13

 
  Packaging
failed #388218
x86_64-linux allowed to fail
doc-tarball

00:00:27

 
  Testing
manual #388219
x86_64-linux allowed to fail manual
hackage
passed #388220
x86_64-linux
perf-nofib

00:24:31

 
Name Stage Failure
failed
validate-aarch64-linux-deb9 Full Build
Uploading artifacts...
ghc-aarch64-linux-deb9.tar.xz: found 1 matching files and directories

junit.xml: found 1 matching files and directories

performance-metrics.tsv: found 1 matching files and directories

Uploading artifacts as "archive" to coordinator... ok
id=388207 responseStatus=201 Created token=_d1zgrhv
Uploading artifacts...
junit.xml: found 1 matching files and directories

Uploading artifacts as "junit" to coordinator... ok
id=388207 responseStatus=201 Created token=_d1zgrhv
ERROR: Job failed: exit code 1
failed
validate-i386-windows Full Build
Git branch:   13-1-stable
GO version: go1.13.8
Built: 2020-06-19T21:12:23+0000
OS/Arch: windows/amd64
Uploading artifacts...
Runtime platform
arch=amd64 os=windows pid=8952 revision=6214287e version=13.1.0
WARNING: junit.xml: no matching files
ERROR: No files to upload
ERROR: Job failed: exit status 1
failed
validate-x86_64-windows-hadrian Full Build
GO version:   go1.13.8
Built: 2020-06-19T21:12:23+0000
OS/Arch: windows/amd64
Uploading artifacts...
Runtime platform
arch=amd64 os=windows pid=7596 revision=6214287e version=13.1.0
junit.xml: found 1 matching files and directories

WARNING: Failed to load system CertPool: crypto/x509: system root pool is not available on Windows
Uploading artifacts as "junit" to coordinator... ok
id=388214 responseStatus=201 Created token=EU3q1rqb
ERROR: Job failed: exit status 1
failed
validate-x86_64-windows Full Build
Git branch:   13-1-stable
GO version: go1.13.8
Built: 2020-06-19T21:12:23+0000
OS/Arch: windows/amd64
Uploading artifacts...
Runtime platform
arch=amd64 os=windows pid=2760 revision=6214287e version=13.1.0
WARNING: junit.xml: no matching files
ERROR: No files to upload
ERROR: Job failed: exit status 1
failed
validate-armv7-linux-deb9 Full Build
Uploading artifacts...
ghc-armv7-linux-deb9.tar.xz: found 1 matching files

junit.xml: found 1 matching files

performance-metrics.tsv: found 1 matching files

Uploading artifacts to coordinator... ok
id=388208 responseStatus=201 Created token=gdKXwnRY
Uploading artifacts...
junit.xml: found 1 matching files

Uploading artifacts to coordinator... ok
id=388208 responseStatus=201 Created token=gdKXwnRY
ERROR: Job failed: exit code 1
failed
doc-tarball Packaging
Entering 'utils/haddock'
Entering 'utils/hsc2hs'
Downloading artifacts
Downloading artifacts for validate-x86_64-linux-deb9-debug (388210)...
Downloading artifacts from coordinator... ok
id=388210 responseStatus=200 OK token=xziumx4i
Executing "step_script" stage of the job script
$ if [ ! -f "$LINUX_BINDIST" ]; then # collapsed multi-line command
Error: ghc-x86_64-mingw32.tar.xz does not exist. Did the 64-bit Windows job fail?
ERROR: Job failed: exit code 1