const char[] test = "test";

  Str ret(test);


을 컴파일하니

3.cpp:12:15: error: expected unqualified-id before ‘[’ token

     const char[] test = "test";

               ^

3.cpp:13:13: error: ‘test’ was not declared in this scope

     Str ret(test);


와 같은 에러가 발생하는데, 도통 이유를 모르겠습니다.