http://llvm.org/bugs/show_bug.cgi?id=11755
Aaron Ballman <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution| |WORKSFORME --- Comment #1 from Aaron Ballman <[email protected]> 2012-02-11 12:26:19 CST --- Works for me in ToT (r150306) c:\llvm>clang -fsyntax-only -std=c++11 "C:\Users\Aaron Ballman\Desktop\test.cpp" C:\Users\Aaron Ballman\Desktop\test.cpp:1:1: error: 'main' is not allowed to be declared constexpr constexpr int main() { return 0; } ^~~~~~~~~ 1 error generated. -- Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
