Sign in
rust
/
rust-lang
/
llvm-project
/
af8f9eb61a2ad4ee1f2d3f46d157b93a47c6a4bf
/
.
/
lldb
/
test
/
API
/
lang
/
cpp
/
incompatible-class-templates
/
main.cpp
blob: e90b96c1dbe2cfcf6a49515bd1ef2b199a44c97b [
file
] [
log
] [
blame
]
int
other
();
namespace
{
template
<
typename
T1
>
struct
Temp
{
int
x
;
};
// This emits the 'Temp' template in this TU.
Temp
<float>
Template1
;
}
// namespace
int
main
()
{
return
Template1
.
x
+
other
();
// break here
}