```
TEST(OCLMat, SubmatrixFlag)
{
    ASSERT_TRUE(UMat(4, 4, CV_32FC1)(Rect(1, 1, 1, 1)).getMat(ACCESS_READ).isSubmatrix());
}
```