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
Merge -r 127928:132243 from trunk
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype-33837.C
blob
35689fbc279352fcc15d2a5f435be2a2b645b64a
1
// { dg-options -std=c++0x }
2
// PR c++/33837
3
void foo()
4
{
5
__decltype (A::foo()); // { dg-error "was not declared|expected initializer" }
6
__decltype (B); // { dg-error "was not declared" }
7
}