[PATCH] D33424: Lexer: allow imaginary constants in GNU mode (only).

Marshall Clow via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 24 14:35:07 PDT 2017


mclow.lists added a comment.

This broke a libc++ test.  The following is expected to fail to compile:

  #include <complex>
  #include <cassert>
  
  int main()
  {
      std::complex<float> foo  = 1.0if;  // should fail w/conversion operator not found
  }

when build as C++1z


https://reviews.llvm.org/D33424





More information about the cfe-commits mailing list