3.6.3.32 SHLS-79

Message

Error:   (SHLS-79) Found main() with function arguments on {location}.
                   SmartHLS expects main() to have no function arguments.
/*****************************************************************
 *  This example is expected to result in
 *  - Code  : SHLS-79
 *  - Type  : Error
 *  - Cause : No input argument should exist when 'main()' is
 *            included as part of hardware logic to be compiled.
 *****************************************************************/
 int main(int argc) {
    #pragma HLS function top
    return 0;
}