---
cases:
  - data:
    modules:
      - |
        package generated

        certs = "foobar"

        p = __local2__ {
          __local4__ = data.generated.certs
          crypto.x509.parse_certificates(__local4__, __local3__)
          __local0__ = __local3__
          __local2__ = [__local1__ | __local1__ = __local0__[_].Subject.CommonName]
        }
    note: cryptox509parsecertificates/invalid DER or PEM data, string
    query: data.generated.p = x
    want_error: illegal base64
    want_error_code: eval_builtin_error
    strict_error: true
