[PATCH] D23654: [CMake] Rename back SIMPLE_SOURCE to compile as C++

Jonas Hahnfeld via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 12 10:46:49 PDT 2016


Hahnfeld added a comment.

In https://reviews.llvm.org/D23654#539996, @compnerd wrote:

> I thought I had mentioned a test that could work: build a simple C++ source file without exceptions and unwind tables.  This would obviously not run very well, but would let you test the compiler.


Then please tell me what's difficult about

  #include <stdlib.h>
  #include <stdio.h>
  int main() {
    printf("hello, world");
  }

as it is currently?!? There are no exceptions, no unwinding and not even C++ at all!


https://reviews.llvm.org/D23654





More information about the llvm-commits mailing list