<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/118619>118619</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Why I am get error LNK2019?
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          MaxProger338
      </td>
    </tr>
</table>

<pre>
    Hi everybody! I have a problem with compilation. I need your help

I'm trying to create a class and write its methods in another file. 

![Image](https://github.com/user-attachments/assets/364c3dc4-7c93-4f7d-b088-4cbd6adb04f7)

I don’t know why it complains, maybe I need to add some parameter for clang 
Or should I add something to the code?
I will be glad for any help. Thanks in advance!




</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8kk-P2yAQxT8NvowSYbAT--DDbrdRo_49VOp5gImhiyECnNTfvrI3bW-VkADBPL3308Oc3RiIBtY-s_alwrnYmIbP-OtbiiMlKbtKRbMMHxzQjdKyXpio4QwWbwQI1xSVpwnurljQcbo6j8XFsIczBCIDS5wTWPJXxp8YfzozcZygpMWFEUoEnQjLKqQ95gwYDNyTKwSuZJio2GgyuAAYYrGU4OI87eFNi4matc_nCUdi7QsTnS3lmpl8YuLExGl0xc5qr-PExGnOlHZYCmo7USiZiRPmTNtBHhotjW52R93LXXM5mp3iXbdrtDIHNIo3lyMT_SMAmBjYe8E6zvq-wGuId7jbBVzZ8nt0ITPxDiZcFP2hUCKgMZDjRHDFhBOVNUxMa-4wroG-Jsg2zt7A-e_fYh-YiiXQ0RCTp83D3XkPimD0aDYZDMtGeQ_fLYbXN2bmhkHTiumN17YqM0jTyx4rGuqjlLJu25ZXdsC67Rt9EfWBk1KNOXLBed8dDg1elLo0lRsEF00teFMLKSTfH1veIvZG6_Zy6BSxhtOEzu-9v037mMbK5TzTUNfdoe4rj4p83romRKA7bK9MiLV6aViHdmoeM2u4d7nkfzLFFU_DD7usbCYYqQClFBN8-vJR8Lpn8lTNyQ__KcCq9dh21xR_ki5MnDYHawceFm-D-B0AAP__SRL7Kw">