summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/constexpr-printing.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2017-08-08 22:03:54 +0000
committerTim Northover <tnorthover@apple.com>2017-08-08 22:03:54 +0000
commit8fbb4c40b30606dbfe347edc985628920153f75d (patch)
tree3071c18e02eb55b13a490da8dd4411771845578d /clang/test/SemaCXX/constexpr-printing.cpp
parentd36945bf3a67fabfb5e28726deaede4295dcc574 (diff)
downloadbcm5719-llvm-8fbb4c40b30606dbfe347edc985628920153f75d.tar.gz
bcm5719-llvm-8fbb4c40b30606dbfe347edc985628920153f75d.zip
Lexer: always allow imaginary constants in GNU mode.
llvm-svn: 310423
Diffstat (limited to 'clang/test/SemaCXX/constexpr-printing.cpp')
-rw-r--r--clang/test/SemaCXX/constexpr-printing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/constexpr-printing.cpp b/clang/test/SemaCXX/constexpr-printing.cpp
index 7f6a9c6a82f..3112fdeb355 100644
--- a/clang/test/SemaCXX/constexpr-printing.cpp
+++ b/clang/test/SemaCXX/constexpr-printing.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -std=c++11 -fsyntax-only -verify -triple x86_64-linux-gnu
+// RUN: %clang_cc1 %s -std=gnu++11 -fsyntax-only -verify -triple x86_64-linux-gnu
struct S;
constexpr int extract(const S &s);
OpenPOWER on IntegriCloud