https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85499
--- Comment #1 from gcc at dcousens dot com ---
Instantiating `foo` previously can resolve the issue, but isn't a work-able
solution in many cases.
```
int main () {
foo(1);
bar(foo);
}
```
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gcc at dcousens dot com
Target Milestone: ---
gcc version 7.3.1 20180312 (GCC)
But, this fails on many different GCC versions.
https://godbolt.org/g/G5gEx2
**Expected:** Compilation should succeed (like other
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gcc at dcousens dot com
Target Milestone: ---
gcc version 7.3.1 20180312 (GCC)
But, this fails on many different GCC versions.
https://godbolt.org/g/G5gEx2
**Expected:** Compilation should