repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ipa-cp: Perform operations in the appropriate types (PR 118097)
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
local4.C
blob
95d2990ec88d3aa9d827e5a48e1be2e8475fabe1
1
// PR c++/17413
2
// { dg-options -std=c++98 }
3
4
template <typename T> void foo() {} // { dg-message "note" }
5
6
int main () {
7
struct S {};
8
foo<S> (); // { dg-error "(match|template argument for|trying to instantiate)" }
9
}