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
Enable flate-combine.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
abi
/
no-linkage-expr1.C
blob
c3b1286ba4ca8924485c9e34a14c635ec12ce562
1
// { dg-do compile { target c++11 } }
2
// { dg-final { scan-assembler-not "weak.*_Z" } }
3
4
using P = struct {}*;
5
6
template <int N>
7
void f(int(*)[((P)0, N)]) {}
8
9
template <int N>
10
struct A { };
11
12
template <int N>
13
void g(A<((P)0,N)>) {}
14
15
int main()
16
{
17
f<1>(0);
18
g<1>({});
19
}