Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test Deliverable Questions 8&9 #14

Open
edpickup opened this issue Feb 25, 2018 · 0 comments
Open

Test Deliverable Questions 8&9 #14

edpickup opened this issue Feb 25, 2018 · 0 comments

Comments

@edpickup
Copy link

Could you clarify the wording on case 8, and offer advice on 9, for the test bench deliverable?

For case 8 for global variables; is this testing a global variable within just ${NAME}.c ie something like

int foo =5;

int f(){
  return foo;
}

or is it to do with passing between ${NAME}.c & ${NAME}_driver.c via extern ie

extern int foo;

int f(){
  return foo;
}

Then for test case 9, to test if our compiler can emit a valid main point, how would the driver file be required / hook into the file MAIN.c?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant