I want to create a bmatrix on the right

\documentclass[10pt,a4paper]{article}
\usepackage[english]{babel}
\usepackage{amsmath}
\begin{document}
\begin{equation}
\begin{bmatrix}[c|c]
_B[T]_B & * \\
0 & _{\overline{B'}} [\overline{T}] _{\overline{B'}}
\end{bmatrix}
\end{equation}
\end{document}
gives me

How do I make verticle line work? and how do I insert horizontal line?
thanks


\documentclass{...}\usepackage{....}\begin{document}...\end{document}. If possible, it should compile and have the minimum amount of code needed to illustrate your problem. This makes it much easier for people to troubleshoot your problem - and much more likely that they will! – Jul 05 '15 at 03:43