diff options
author | David Terei <davidterei@gmail.com> | 2011-07-20 11:09:03 -0700 |
---|---|---|
committer | David Terei <davidterei@gmail.com> | 2011-07-20 11:26:35 -0700 |
commit | 16514f272fb42af6e9c7674a9bd6c9dce369231f (patch) | |
tree | e4f332b45fe65e2a7a2451be5674f887b42bf199 /testsuite/tests/haddock/should_compile_flag_nohaddock | |
parent | ebd422aed41048476aa61dd4c520d43becd78682 (diff) | |
download | haskell-16514f272fb42af6e9c7674a9bd6c9dce369231f.tar.gz |
Move tests from tests/ghc-regress/* to just tests/*
Diffstat (limited to 'testsuite/tests/haddock/should_compile_flag_nohaddock')
6 files changed, 32 insertions, 0 deletions
diff --git a/testsuite/tests/haddock/should_compile_flag_nohaddock/Makefile b/testsuite/tests/haddock/should_compile_flag_nohaddock/Makefile new file mode 100644 index 0000000000..9101fbd40a --- /dev/null +++ b/testsuite/tests/haddock/should_compile_flag_nohaddock/Makefile @@ -0,0 +1,3 @@ +TOP=../../.. +include $(TOP)/mk/boilerplate.mk +include $(TOP)/mk/test.mk diff --git a/testsuite/tests/haddock/should_compile_flag_nohaddock/all.T b/testsuite/tests/haddock/should_compile_flag_nohaddock/all.T new file mode 100644 index 0000000000..500a7e6bd1 --- /dev/null +++ b/testsuite/tests/haddock/should_compile_flag_nohaddock/all.T @@ -0,0 +1,4 @@ +test('haddockB001', normal, compile, ['']) +test('haddockB002', normal, compile, ['']) +test('haddockB003', normal, compile, ['']) +test('haddockB004', normal, compile, ['']) diff --git a/testsuite/tests/haddock/should_compile_flag_nohaddock/haddockB001.hs b/testsuite/tests/haddock/should_compile_flag_nohaddock/haddockB001.hs new file mode 100644 index 0000000000..10998fdb1d --- /dev/null +++ b/testsuite/tests/haddock/should_compile_flag_nohaddock/haddockB001.hs @@ -0,0 +1,3 @@ + +{- xc,zxcz -} +main = putStrLn "hej" diff --git a/testsuite/tests/haddock/should_compile_flag_nohaddock/haddockB002.hs b/testsuite/tests/haddock/should_compile_flag_nohaddock/haddockB002.hs new file mode 100644 index 0000000000..f698fa0520 --- /dev/null +++ b/testsuite/tests/haddock/should_compile_flag_nohaddock/haddockB002.hs @@ -0,0 +1,3 @@ +{-{--}-} + +main=return() diff --git a/testsuite/tests/haddock/should_compile_flag_nohaddock/haddockB003.hs b/testsuite/tests/haddock/should_compile_flag_nohaddock/haddockB003.hs new file mode 100644 index 0000000000..7c3f733483 --- /dev/null +++ b/testsuite/tests/haddock/should_compile_flag_nohaddock/haddockB003.hs @@ -0,0 +1,2 @@ +---------------------------------------------------------- +main = undefined diff --git a/testsuite/tests/haddock/should_compile_flag_nohaddock/haddockB004.hs b/testsuite/tests/haddock/should_compile_flag_nohaddock/haddockB004.hs new file mode 100644 index 0000000000..cc9e07e6b2 --- /dev/null +++ b/testsuite/tests/haddock/should_compile_flag_nohaddock/haddockB004.hs @@ -0,0 +1,17 @@ +{-# OPTIONS_GHC -XNoImplicitPrelude #-} +----------------------------------------------------------------------------- +-- +-- Module : Foreign +-- Copyright : (c) The FFI task force 2001 +-- License : BSD-style (see the file libraries/base/LICENSE) +-- +-- Maintainer : ffi@haskell.org +-- Stability : provisional +-- Portability : portable +-- +-- A collection of data types, classes, and functions for interfacing +-- with another programming language. +-- +----------------------------------------------------------------------------- + +module Hej where |