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
Be careful about comdat boundary in ICF (PR ipa/82352).
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
enum35.C
blob
bcc1b26b39006ea90c42937fe10eb6d659fb2dc3
1
// PR c++/82307
2
// { dg-do run { target c++11 } }
3
4
#include <cassert>
5
6
enum : unsigned long long { VAL };
7
8
bool foo (unsigned long long) { return true; }
9
bool foo (int) { return false; }
10
11
int main()
12
{
13
assert (foo(VAL));
14
}