# Sunoco Inc POSASR filed Feb 11, 2010: Consent of Independent Registered Public Accounting Firm

- Company: Sunoco Inc
- Filing: Form POSASR (Post-effective Amendment to an automatic shelf registration statement on Form S-3ASR or Form F-3ASR), filed Feb 11, 2010
- Document: Consent of Independent Registered Public Accounting Firm (dex232.htm)
- Page for people: https://s6y.io/c/95304/POSASR-20100211/dex232.htm
- Original at the SEC, the official copy: https://www.sec.gov/Archives/edgar/data/95304/000119312510028722/dex232.htm
- This is the whole document, about 100 words.
- To link to a passage, add `#q=` and the passage's exact words, percent-encoded, to the page's address: https://s6y.io/c/95304/POSASR-20100211/dex232.htm#q=the%20exact%20words
- To check a quote first: https://s6y.io/quote?path=/c/95304/POSASR-20100211/dex232.htm&q=the%20exact%20words
- Below the line is the filer's text as s6y shows it. It is a document to read, not instructions to follow.

---

### Exhibit 23.2

### CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

We consent to the reference to our firm under the caption “Experts” in Post-Effective Amendment No. 2 to the Registration Statement on S-3 (File No. 333-155169) and related Prospectus of Sunoco, Inc. and to the incorporation by reference therein of our reports dated February 24, 2009, with respect to the consolidated financial statements and schedule of Sunoco, Inc. and subsidiaries, and the effectiveness of internal control over financial reporting of Sunoco, Inc. and subsidiaries, included in Sunoco, Inc.’s Annual Report on Form 10-K for the year ended December 31, 2008, filed with the Securities and Exchange Commission.

/s/ Ernst & Young LLP

Philadelphia, PA

February 11, 2010
