repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Forward port r208464 from google/gcc-4_8.
[official-gcc.git]
/
main
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
regress
/
regress1.C
blob
a6fe3999c984ce03456d0678e05d26fb444d61e2
1
// PR c++/46903
2
// This isn't C++0x code, but it was breaking in C++0x mode.
3
// { dg-options -std=c++0x }
4
5
struct A {};
6
struct B {
7
void *(*a)();
8
};
9
template <typename T> void *CreateA() {}
10
B b = {CreateA<A>};