public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/60209] New: Declaration of user-defined literal operator cause error
@ 2014-02-15  4:29 kariya_mitsuru at hotmail dot com
  2014-02-16 17:30 ` [Bug c++/60209] " daniel.kruegler at googlemail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: kariya_mitsuru at hotmail dot com @ 2014-02-15  4:29 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60209

            Bug ID: 60209
           Summary: Declaration of user-defined literal operator cause
                    error
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kariya_mitsuru at hotmail dot com

I think that the sample code below should be compiled successfully.

void operator "" "" _x(unsigned long long);

According to C++11 standard 2.2[lex.phases], string literal concatenation
occurs in compilation phase 6 and syntax analysis is performed in compilation
phase 7.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-07-13 13:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-15  4:29 [Bug c++/60209] New: Declaration of user-defined literal operator cause error kariya_mitsuru at hotmail dot com
2014-02-16 17:30 ` [Bug c++/60209] " daniel.kruegler at googlemail dot com
2014-05-11 14:44 ` paolo.carlini at oracle dot com
2014-05-12 13:52 ` emsr at gcc dot gnu.org
2014-05-12 13:54 ` emsr at gcc dot gnu.org
2014-07-13 13:37 ` emsr at gcc dot gnu.org
2014-07-13 13:40 ` emsr at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).