Dechenjm / crack-language

Automatically exported from code.google.com/p/crack-language
Other
0 stars 0 forks source link

deriving from low-level types causes LLVM assertion failure #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run "class A : int {}"

What is the expected output?
  nothing

What do you see instead?
  lt-crack: /home/mmuller/pkg/llvm-2.7/include/llvm/Support/Casting.h:200: typename llvm::cast_retty<To, From>::ret_type llvm::cast(const Y&) [with X = llvm::PointerType, Y = const llvm::Type*]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by mind...@gmail.com on 1 Jul 2010 at 5:38

GoogleCodeExporter commented 9 years ago

Original comment by mind...@gmail.com on 1 Jul 2010 at 8:12

GoogleCodeExporter commented 9 years ago
Now get a parse error when you do this, which is what we want until the 
functionality is actually supported.

Original comment by mind...@gmail.com on 10 Aug 2010 at 8:39