# 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
+#alt0# module error_annot_pkgconfig_alt0 is pkgconfig # defaults to module name
+#alt1# module error_annot_pkgconfig_alt1 is pkgconfig("missing-lib", "other missing lib")
+#alt2# module error_annot_pkgconfig_alt2 is pkgconfig(1234) # not a string
fun foo `{ `}
foo
-alt/error_annot_pkgconfig_alt0.nit:17,48: Syntax Error: unexpected ')'.
+alt/error_annot_pkgconfig_alt0.nit:17,38--46: Error: dev package for `error_annot_pkgconfig_alt0` unknown by `pkg-config`, install it with `apt-get`, `brew` or similar.
-alt/error_annot_pkgconfig_alt1.nit:18,38--61: Error: dev package for `missing-lib` unknown by `pkg-config`, install it with `apt-get`, `brew` or similar.
+alt/error_annot_pkgconfig_alt1.nit:18,38--82: Error: dev package for `missing-lib` unknown by `pkg-config`, install it with `apt-get`, `brew` or similar.
+alt/error_annot_pkgconfig_alt1.nit:18,38--82: Error: dev package for `other missing lib` unknown by `pkg-config`, install it with `apt-get`, `brew` or similar.
-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.
+alt/error_annot_pkgconfig_alt2.nit:19,38--52: 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 mismatch; declared test_annot_pkgconfig file named test_annot_pkgconfig_alt1.
+++ /dev/null
-alt/test_annot_pkgconfig_alt2.nit:18,8--27: Error: module name mismatch; declared test_annot_pkgconfig file named test_annot_pkgconfig_alt2.
# 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")
+#alt1# module test_annot_pkgconfig_alt1 is pkgconfig("sdl")
+#alt2# module test_annot_pkgconfig_alt2 is pkgconfig("sdl", "egl")
+
+fun foo `{ `}
+foo