mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
bf08e82d8e
llvm-svn: 79992
20 lines
247 B
C++
20 lines
247 B
C++
// RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null
|
|
|
|
|
|
|
|
template<typename Ty>
|
|
struct normal_iterator {
|
|
int FIELD;
|
|
};
|
|
|
|
void foo(normal_iterator<int>);
|
|
normal_iterator<int> baz();
|
|
|
|
void bar() {
|
|
foo(baz());
|
|
}
|
|
|
|
void *bar2() {
|
|
return (void*)foo;
|
|
}
|