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
/
static_assert15.C
blob
a740f73fd4acdceff1b865151f70f8558774c9f4
1
// PR c++/84596
2
// { dg-do compile { target c++11 } }
3
4
template<int x>
5
struct a {
6
constexpr void b() {
7
int c;
8
static_assert(c %= 1, "");
9
}
10
};