re PR c++/55558 ([C++11] decltype on a static member variable in a template function results in an internal compiler error)
2012-12-01 Paolo Carlini <paolo.carlini@oracle.com> PR c++/55558 * g++.dg/cpp0x/decltype46.C: New. From-SVN: r194036
This commit is contained in:
parent
198e7e8bde
commit
780f08bc4a
|
@ -1,3 +1,8 @@
|
|||
2012-12-01 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
PR c++/55558
|
||||
* g++.dg/cpp0x/decltype46.C: New.
|
||||
|
||||
2012-12-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
||||
|
||||
PR middle-end/52450
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
// PR c++/55558
|
||||
// { dg-do compile { target c++11 } }
|
||||
|
||||
struct A
|
||||
{
|
||||
static int member;
|
||||
};
|
||||
|
||||
template<typename T> void foobar ()
|
||||
{
|
||||
typedef decltype (A::member) myType;
|
||||
}
|
Loading…
Reference in New Issue