summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/java/sql/DataTruncation.java
diff options
context:
space:
mode:
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>2012-10-31 08:55:43 +0000
committerdodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>2012-10-31 08:55:43 +0000
commit27b85ef8b0f957eb8336bb366f4f24e5bb56f882 (patch)
tree61626b5c962af926be3f6e96b3f80958e0255a68 /libjava/classpath/java/sql/DataTruncation.java
parent8a2c774414018bc26dd5a7516a7b4ed6ae4e15aa (diff)
downloadppe42-gcc-27b85ef8b0f957eb8336bb366f4f24e5bb56f882.tar.gz
ppe42-gcc-27b85ef8b0f957eb8336bb366f4f24e5bb56f882.zip
PR c++/54955 - Fail to parse alignas expr at the beginning of a declaration
In this PR, g++ embarrassingly fails to parse the simple alignas expression below: alignas(double) int f; even though the simple-declaration production in Clause 7 suggests otherwise. Fixed thus and tested on x86_64-unknown-linux-gnu against trunk. gcc/cp PR c++/54955 * parser.c (cp_nth_tokens_can_be_std_attribute_p): Recognize the 'Alignas' keyword as the beginning of a c++11 attribute specifier. Update the comment of the function. (cp_next_tokens_can_be_gnu_attribute_p): Update the comment of the function. gcc/testsuite/ PR c++/54955 * g++.dg/cpp0x/gen-attrs-48-2.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193029 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/java/sql/DataTruncation.java')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud