Skip to content

Commit d58db8c

Browse files
committed
Added error throwing test
1 parent 0257acc commit d58db8c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/test_datatype.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ end
1818

1919
# test simple type
2020

21+
type NotABits
22+
a::Any
23+
end
24+
25+
@test_throws ArgumentError MPI.type_create(NotABits)
26+
2127
immutable Boundary
2228
c::UInt16 # force some padding to be inserted
2329
a::Int

0 commit comments

Comments
 (0)