Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • sac2c sac2c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 403
    • Issues 403
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Issues
  • #2077
Closed
Open
Created Jun 17, 2008 by Sven-Bodo Scholz@sbsOwner

variables of non-scaler UDT cannot be declared!

Bugzilla Link 436
Created on Jun 17, 2008 12:23
Resolution FIXED
Resolved on Jul 10, 2014 22:48
Version 1.00beta
OS Linux
Architecture PC

Extended Description

as of rev 15732, the following trivial example does not parse:
typedef int[2] foo;
int main()
{
  foo[2] x;
  x = (:foo[*])[[1,2],[3,4]];
  return( 0);
}
It returns:
ABORT: line 5  file: tata.sac
ABORT: syntax error at pos 10: 'x`
ABORT:   foo[2] x;
ABORT:          ^
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking