--- /dev/null
+# This file is part of NIT ( http://www.nitlanguage.org ).
+#
+# Copyright 2013 Alexis Laferrière <alexis.laf@xymus.net>
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+#alt0# module error_annot_pkgconfig_alt0 is pkgconfig() # 0 arg
+#alt1# module error_annot_pkgconfig_alt1 is pkgconfig("missing-lib")
+#alt2# module error_annot_pkgconfig_alt2 is pkgconfig("too many args", 123)
+#alt3# module error_annot_pkgconfig_alt3 is pkgconfig(1234) # not a string
--- /dev/null
+alt/error_annot_pkgconfig_alt0.nit:17,48: Syntax error: unexpected ')'.
--- /dev/null
+alt/error_annot_pkgconfig_alt1.nit:18,38--61: Error: package "missing-lib" unknown by pkg-config, make sure the development package is be installed.
--- /dev/null
+alt/error_annot_pkgconfig_alt2.nit:19,38--68: Syntax error: "pkgconfig" expects its arguments to be the name of the package as String literals.
--- /dev/null
+alt/error_annot_pkgconfig_alt3.nit:20,38--52: Syntax error: "pkgconfig" expects its arguments to be the name of the package as String literals.
--- /dev/null
+alt/test_annot_pkgconfig_alt1.nit:17,8--27: Error: module name missmatch; declared test_annot_pkgconfig file named test_annot_pkgconfig_alt1
--- /dev/null
+alt/test_annot_pkgconfig_alt2.nit:18,8--27: Error: module name missmatch; declared test_annot_pkgconfig file named test_annot_pkgconfig_alt2
--- /dev/null
+# This file is part of NIT ( http://www.nitlanguage.org ).
+#
+# Copyright 2013 Alexis Laferrière <alexis.laf@xymus.net>
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+#alt1# module test_annot_pkgconfig is pkgconfig("sdl")
+#alt2# module test_annot_pkgconfig is pkgconfig("sdl", "egl")