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
PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-virtual5.C
blob
895de506d6740de3b65b970b1dc5c66b1655b299
1
// PR c+++/67592
2
// { dg-do compile { target c++11 } }
3
4
struct S {
5
constexpr virtual int f() { return 1; } // { dg-error "both 'virtual' and 'constexpr'" }
6
};